Merge branch 'MDL-48058-master' of git://github.com/andrewnicols/moodle
authorSam Hemelryk <sam@moodle.com>
Mon, 8 Dec 2014 00:58:15 +0000 (13:58 +1300)
committerSam Hemelryk <sam@moodle.com>
Mon, 8 Dec 2014 00:58:15 +0000 (13:58 +1300)
message/module.js

index 6fd3bf4..bc10ce0 100644 (file)
@@ -102,7 +102,7 @@ M.core_message.init_defaultoutputs = function(Y) {
                 }, this);
                 parentnode.addClass('dimmed_text');
             } else {
-                parentnode.all('select').each(function(node) {
+                parentnode.all('select[disabled]').each(function(node) {
                     node.removeAttribute('disabled');
                     node.set('value', 'permitted');
                     defaultoutputs.updateCheckboxes(node.ancestor('td'), 0, 0);