| | |
| | | }); |
| | | } |
| | | |
| | | $('input[data-input-element="date"]').datetimepicker({ |
| | | 'language': 'en', // TODO |
| | | 'todayHighlight': true, |
| | | 'todayBtn': 'linked', |
| | | 'bootcssVer': 3, |
| | | 'fontAwesome': true, |
| | | 'autoclose': true, |
| | | 'minView': 'month' |
| | | }); |
| | | $('input[data-input-element="datetime"]').datetimepicker({ |
| | | 'language': 'en', // TODO |
| | | 'todayHighlight': true, |
| | | 'todayBtn': 'linked', |
| | | 'bootcssVer': 3, |
| | | 'fontAwesome': true, |
| | | 'autoclose': true |
| | | }); |
| | | |
| | | ISPConfig.callHook('onAfterContentLoad', {'url': url, 'data': data }); |
| | | }, |
| | | |
| | |
| | | }); |
| | | }, |
| | | |
| | | loadOptionInto: function(elementid,pagename) { |
| | | loadOptionInto: function(elementid,pagename,callback) { |
| | | var pageContentObject2 = $.ajax({ |
| | | type: "GET", |
| | | url: pagename, |
| | |
| | | foo2.value=elemente[i]; |
| | | el.appendChild(foo2); |
| | | } |
| | | if (typeof(callback) != 'undefined') { |
| | | callback(elementid,pagename); |
| | | } |
| | | }, |
| | | error: function() { |
| | | ISPConfig.reportError('Ajax Request was not successful. 119'); |