From e9fe5be1fa482ce5780c1f747739780d0f935849 Mon Sep 17 00:00:00 2001 From: nagoon97 Date: Wed, 17 Oct 2012 09:40:33 +0000 Subject: [PATCH] Also make the button[type=submit]'s disabled for 3 seconds after being clicked git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11763 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- common/js/common.js | 2 +- common/js/xe.js | 2 +- common/js/xe.min.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/js/common.js b/common/js/common.js index bb8128aae..e586d7279 100644 --- a/common/js/common.js +++ b/common/js/common.js @@ -190,7 +190,7 @@ jQuery(function($) { }); } - jQuery('input[type="submit"]').click(function(ev){ + jQuery('input[type="submit"],button[type="submit"]').click(function(ev){ var $el = jQuery(ev.currentTarget); setTimeout(function(){ diff --git a/common/js/xe.js b/common/js/xe.js index 345459888..184ee1636 100644 --- a/common/js/xe.js +++ b/common/js/xe.js @@ -474,7 +474,7 @@ jQuery(function($) { }); } - jQuery('input[type="submit"]').click(function(ev){ + jQuery('input[type="submit"],button[type="submit"]').click(function(ev){ var $el = jQuery(ev.currentTarget); setTimeout(function(){ diff --git a/common/js/xe.min.js b/common/js/xe.min.js index f6b3a423f..d14664839 100644 --- a/common/js/xe.min.js +++ b/common/js/xe.min.js @@ -14,7 +14,7 @@ arguments[0],a.extend(c,arguments[1]||{})}!0==c.doClick&&(c.checked=null);"strin if("undefined"==typeof g.length||1>g.length)g=Array(g);if(g.length)for(var j=0;j"+l+" "}}this.loaded_popup_menus[c]=b}b&&(c=a("#popup_menu_area").html(""),b=e.page_y,e=e.page_x, c.outerHeight()+b>a(window).height()+a(window).scrollTop()&&(b=a(window).height()-c.outerHeight()+a(window).scrollTop()),c.outerWidth()+e>a(window).width()+a(window).scrollLeft()&&(e=a(window).width()-c.outerWidth()+a(window).scrollLeft()),c.css({top:b,left:e}).show())}}})(jQuery); jQuery(function(a){a.browser.msie&&a("select").each(function(a,b){for(var g=!1,d=[],i=0;i