luci2: ensure that loading indicator appears above modal dialogs
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 31 Jan 2014 21:41:24 +0000 (21:41 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 31 Jan 2014 21:41:24 +0000 (21:41 +0000)
luci2/htdocs/luci2/luci2.js

index f41a8193ee3f6d8038b1456f96630d63a9a69a8b..fe73a951483f696ee7e5f2d40aa45ab124eebbdc 100644 (file)
@@ -3216,6 +3216,7 @@ function LuCI2()
 
                        var state = _luci2.ui._loading || (_luci2.ui._loading = {
                                modal: $('<div />')
+                                       .css('z-index', 2000)
                                        .addClass('modal fade')
                                        .append($('<div />')
                                                .addClass('modal-dialog')