luci2: remove dead code from LuCI2.cbi.Map()
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 14 Oct 2013 21:57:11 +0000 (21:57 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 14 Oct 2013 21:57:11 +0000 (21:57 +0000)
luci2/htdocs/luci2/luci2.js

index 84ebf847040c5efc09ae6320f1820b3ccf9e42e6..ffa58ea0de2d8ceedf9c119a711c57624940caab 100644 (file)
@@ -5643,33 +5643,6 @@ function LuCI2()
                        });
                },
 
-               dialog: function(id)
-               {
-                       var d = $('<div />');
-                       var p = $('<p />');
-
-                       $('<img />')
-                               .attr('src', _luci2.globals.resource + '/icons/loading.gif')
-                               .css('vertical-align', 'middle')
-                               .css('padding-right', '10px')
-                               .appendTo(p);
-
-                       p.append(_luci2.tr('Loading data...'));
-
-                       p.appendTo(d);
-                       d.appendTo(id);
-
-                       return d.dialog({
-                               modal: true,
-                               draggable: false,
-                               resizable: false,
-                               height: 90,
-                               open: function() {
-                                       $(this).parent().children('.ui-dialog-titlebar').hide();
-                               }
-                       });
-               },
-
                insertInto: function(id)
                {
                        var self = this;