From c8985ea9386282128d20e0fe8424bee2727da5b7 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sun, 27 Feb 2011 13:43:49 +0100 Subject: [PATCH] Minor tweaks. Signed-off-by: Florent Bruneau --- htdocs/javascript/xorg.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) { -- 2.1.4