From: Florent Bruneau Date: Sun, 27 Feb 2011 12:43:49 +0000 (+0100) Subject: Minor tweaks. X-Git-Tag: xorg/1.1.0~128 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=c8985ea9386282128d20e0fe8424bee2727da5b7;p=platal.git Minor tweaks. Signed-off-by: Florent Bruneau --- diff --git a/htdocs/javascript/xorg.js b/htdocs/javascript/xorg.js index 1c18fbe..7cd95ae 100644 --- a/htdocs/javascript/xorg.js +++ b/htdocs/javascript/xorg.js @@ -1041,6 +1041,7 @@ function sendTestEmail(token, hruid) console.log(options); options.loadingClass = $this.css('text-align') === 'right' ? options.loadingClassRight : options.loadingClassLeft; + $this.attr('autocomplete', 'off'); $popup = buildPopup(this, options.destination, function() { options.selectAction.apply(this, arguments); @@ -1157,10 +1158,10 @@ function sendTestEmail(token, hruid) if (typeof text === 'string') { args.push(text); if (width) { - args.push(width); + args.push(WIDTH, width); } if (height) { - args.push(height); + args.push(HEIGHT, height); } } else { for (key in text) {