diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-04-13 22:19:50 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-04-13 22:19:50 +0200 |
commit | 1509f5561d2d66414ceb3450fe6512c872ec507d (patch) | |
tree | 8787034392baab6389973fec7cba31ab11d3e6d5 | |
parent | ad4689b7aed8a254410e626b50a9483899cdb59e (diff) | |
download | luci2-ui-1509f5561d2d66414ceb3450fe6512c872ec507d.tar.gz |
luci2: fix save functionality on Map() objects after 1df7615
-rw-r--r-- | luci2/htdocs/luci2/luci2.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/luci2/htdocs/luci2/luci2.js b/luci2/htdocs/luci2/luci2.js index 7c09901..dac499f 100644 --- a/luci2/htdocs/luci2/luci2.js +++ b/luci2/htdocs/luci2/luci2.js @@ -7012,7 +7012,9 @@ function LuCI2() { var self = ev.data.self; - self.trigger('save', ev); + self.send().then(function() { + self.trigger('save', ev); + }); }, _ev_reset: function(ev) |