Merge branch 'MDL-39776-master' of git://github.com/phalacee/moodle
authorDan Poltawski <dan@moodle.com>
Wed, 9 Oct 2013 08:54:02 +0000 (16:54 +0800)
committerDan Poltawski <dan@moodle.com>
Wed, 9 Oct 2013 08:54:02 +0000 (16:54 +0800)
lib/yui/build/moodle-core-formautosubmit/moodle-core-formautosubmit-debug.js
lib/yui/build/moodle-core-formautosubmit/moodle-core-formautosubmit-min.js
lib/yui/build/moodle-core-formautosubmit/moodle-core-formautosubmit.js
lib/yui/src/formautosubmit/js/formautosubmit.js

index 00f2bcf..55abf69 100644 (file)
Binary files a/lib/yui/build/moodle-core-formautosubmit/moodle-core-formautosubmit-debug.js and b/lib/yui/build/moodle-core-formautosubmit/moodle-core-formautosubmit-debug.js differ
index 5c7b88a..8b5f752 100644 (file)
Binary files a/lib/yui/build/moodle-core-formautosubmit/moodle-core-formautosubmit-min.js and b/lib/yui/build/moodle-core-formautosubmit/moodle-core-formautosubmit-min.js differ
index c812697..098b6a3 100644 (file)
Binary files a/lib/yui/build/moodle-core-formautosubmit/moodle-core-formautosubmit.js and b/lib/yui/build/moodle-core-formautosubmit/moodle-core-formautosubmit.js differ
index e78d50b..ac5e1b6 100644 (file)
@@ -34,8 +34,8 @@ Y.extend(FORMAUTOSUBMIT, Y.Base, {
                 // Macintosh webkit browsers like change events, but non-macintosh webkit browsers don't.
                 applyto.delegate('change', this.process_changes, 'select.' + CSS.AUTOSUBMIT, this);
             }
-            if (Y.UA.ios) {
-                // IOS doesn't trigger click events because it's touch-based.
+            if (Y.UA.touchEnabled) {
+                // IOS and Android trigger touch events.
                 applyto.delegate('change', this.process_changes, 'select.' + CSS.AUTOSUBMIT, this);
             }
         }