diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-07-07 15:12:47 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-07-09 11:51:43 +0200 |
commit | c0de036b3162d73e9fad878afaa32e7ca0df1fed (patch) | |
tree | 38a670eb18907dccdb44bb05b19c175a3dc11a19 /applications/luci-app-asterisk | |
parent | 069c0c93e1045188c9e86c8e7204b0647d2fdb19 (diff) |
treewide: always include cbi.js
Include cbi.js in the main header template like it is done for xhr.js and
remove the page specific includes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-asterisk')
-rw-r--r-- | applications/luci-app-asterisk/luasrc/view/asterisk/dialplans.htm | 1 | ||||
-rw-r--r-- | applications/luci-app-asterisk/luasrc/view/asterisk/dialzones.htm | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/applications/luci-app-asterisk/luasrc/view/asterisk/dialplans.htm b/applications/luci-app-asterisk/luasrc/view/asterisk/dialplans.htm index fb40335f9..1c58b0a02 100644 --- a/applications/luci-app-asterisk/luasrc/view/asterisk/dialplans.htm +++ b/applications/luci-app-asterisk/luasrc/view/asterisk/dialplans.htm @@ -58,7 +58,6 @@ <form method="post" action="<%=url('admin/asterisk/dialplans')%>" enctype="multipart/form-data"> <div> - <script type="text/javascript" src="/luci-static/resources/cbi.js"></script> <input type="hidden" name="cbi.submit" value="1" /> <input type="submit" value="Save" class="hidden" /> </div> diff --git a/applications/luci-app-asterisk/luasrc/view/asterisk/dialzones.htm b/applications/luci-app-asterisk/luasrc/view/asterisk/dialzones.htm index e48da608a..66a06b20f 100644 --- a/applications/luci-app-asterisk/luasrc/view/asterisk/dialzones.htm +++ b/applications/luci-app-asterisk/luasrc/view/asterisk/dialzones.htm @@ -49,7 +49,6 @@ <form method="post" action="<%=url('admin/asterisk/dialplans/zones')%>" enctype="multipart/form-data"> <div> - <script type="text/javascript" src="/luci-static/resources/cbi.js"></script> <input type="hidden" name="cbi.submit" value="1" /> <input type="submit" value="Save" class="hidden" /> </div> |