diff options
author | Simon Rettberg | 2017-07-25 19:02:01 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-07-25 19:02:01 +0200 |
commit | bb53f6136e2950f3d656728be469d318a0d9f606 (patch) | |
tree | 4e8648ff6fde4b8496eba6e19afdfd7bf542c241 /modules-available/locationinfo/clientscript.js | |
parent | [locationinfo] Better error handling in hisinone backend (diff) | |
download | slx-admin-bb53f6136e2950f3d656728be469d318a0d9f606.tar.gz slx-admin-bb53f6136e2950f3d656728be469d318a0d9f606.tar.xz slx-admin-bb53f6136e2950f3d656728be469d318a0d9f606.zip |
[locationinfo] Make panel accessible via slxadmin, add URL type panel
Diffstat (limited to 'modules-available/locationinfo/clientscript.js')
-rw-r--r-- | modules-available/locationinfo/clientscript.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locationinfo/clientscript.js b/modules-available/locationinfo/clientscript.js index a2a8ee1f..f9872e02 100644 --- a/modules-available/locationinfo/clientscript.js +++ b/modules-available/locationinfo/clientscript.js @@ -36,7 +36,7 @@ const allDays = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturd * Adds a new opening time to the table in expert mode. */ function newOpeningTime(vals) { - var $row = $('#expert-template div.row').clone(); + var $row = $('#expert-template').find('div.row').clone(); if (vals['days'] && Array.isArray(vals['days'])) { for (var i = 0; i < allDays.length; ++i) { $row.find('.i-' + allDays[i]).attr('checked', vals['days'].indexOf(allDays[i]) !== -1); |