summaryrefslogtreecommitdiffstats
path: root/static/functions/script_start.js
diff options
context:
space:
mode:
authorGit <git@what.cd>2014-04-02 08:00:56 +0000
committerGit <git@what.cd>2014-04-02 08:00:56 +0000
commitaedb32c7d0c5810ce1f85bb96571d79784a43e5d (patch)
treed115219b48c4495372af73ef2af1d9f4cd9997d4 /static/functions/script_start.js
parente624e2824baa19c92a626f5327755b55c2a7ad49 (diff)
downloadGazelle-aedb32c7d0c5810ce1f85bb96571d79784a43e5d.zip
Gazelle-aedb32c7d0c5810ce1f85bb96571d79784a43e5d.tar.gz
Gazelle-aedb32c7d0c5810ce1f85bb96571d79784a43e5d.tar.bz2
Empty commit
Diffstat (limited to 'static/functions/script_start.js')
-rw-r--r--static/functions/script_start.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/static/functions/script_start.js b/static/functions/script_start.js
index 209f5b7..3d06902 100644
--- a/static/functions/script_start.js
+++ b/static/functions/script_start.js
@@ -360,7 +360,9 @@ $.fn.extend({
// Disable unset form elements to allow search URLs cleanups
disableUnset: function() {
- $('input[value=""]:text, select[value=""]', this).disable();
+ $('input, select', this).filter(function() {
+ return $(this).val() === "";
+ }).disable();
return this;
},