projects
/
project
/
luci2
/
ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a90fe9
)
luci2: add AbstractWidget.appendTo() to support appending widgets to a container
author
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 22 Oct 2013 19:04:54 +0000
(19:04 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 22 Oct 2013 19:04:54 +0000
(19:04 +0000)
luci2/htdocs/luci2/luci2.js
patch
|
blob
|
history
diff --git
a/luci2/htdocs/luci2/luci2.js
b/luci2/htdocs/luci2/luci2.js
index 1b759754ed9c71bbf240eb77ee8a32845b82a3ac..291af572d31119ec0e318aa03a68220b420ff3bd 100644
(file)
--- a/
luci2/htdocs/luci2/luci2.js
+++ b/
luci2/htdocs/luci2/luci2.js
@@
-2339,6
+2339,10
@@
function LuCI2()
insertInto: function(id) {
return $(id).empty().append(this.render());
+ },
+
+ appendTo: function(id) {
+ return $(id).append(this.render());
}
});