Commit 433b5263 authored by Ad Schellevis's avatar Ad Schellevis

(ids) add change schedule link for automatic updates

parent 09f44e52
......@@ -98,7 +98,12 @@ POSSIBILITY OF SUCH DAMAGE.
}
// load initial data
mapDataToFormUI(data_get_map).done(function(){
mapDataToFormUI(data_get_map).done(function(data){
// set schedule updates link to cron
$.each(data.frm_GeneralSettings.ids.general.UpdateCron, function(key, value) {
$("#scheduled_updates").attr("href","/ui/cron/item/open/"+key);
});
//alert(JSON.stringify(data.frm_GeneralSettings.ids.general.UpdateCron));
formatTokenizersUI();
$('.selectpicker').selectpicker('refresh');
});
......@@ -237,6 +242,7 @@ POSSIBILITY OF SUCH DAMAGE.
<li class="active"><a data-toggle="tab" href="#settings" id="settings_tab">{{ lang._('Settings') }}</a></li>
<li><a data-toggle="tab" href="#rules" id="rule_tab">{{ lang._('Rules') }}</a></li>
<li><a data-toggle="tab" href="#alerts" id="alert_tab">{{ lang._('Alerts') }}</a></li>
<li><a href="" id="scheduled_updates">{{ lang._('Schedule') }}</a></li>
</ul>
<div class="tab-content content-box tab-content">
<div id="settings" class="tab-pane fade in active">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment