diff --git a/smash/web/static/js/smash.js b/smash/web/static/js/smash.js index 45122991ee81b1341c86e6e665f1faf113e255d5..f2af5cef26d8c4b20f2d93c4530785fdf9a57f5e 100644 --- a/smash/web/static/js/smash.js +++ b/smash/web/static/js/smash.js @@ -23,8 +23,10 @@ $(document).ready(function () { } else { return true; } - }) - + }); + + //disable all dropdown HTML select elements that should be readonly but aren't + $("select[readonly] option:not(:selected)").attr('disabled','disabled'); }); $.ajaxSetup({