|
@@ -60,7 +60,7 @@ $model = new TopSlider();
|
|
'type' => DateTimePicker::TYPE_COMPONENT_PREPEND,
|
|
'type' => DateTimePicker::TYPE_COMPONENT_PREPEND,
|
|
'pluginOptions' => [
|
|
'pluginOptions' => [
|
|
'format' => 'yyyy-MM-dd hh:i:s',
|
|
'format' => 'yyyy-MM-dd hh:i:s',
|
|
- 'startDate' => '2023-01-01 12:00',
|
|
|
|
|
|
+ 'startDate' => '2024-01-01 12:00',
|
|
'todayHighlight' => true,
|
|
'todayHighlight' => true,
|
|
'autoclose'=>true
|
|
'autoclose'=>true
|
|
]
|
|
]
|
|
@@ -91,6 +91,7 @@ function senddata(){
|
|
// console.log(form);
|
|
// console.log(form);
|
|
$.getJSON( "/manager/top-slider/ajaxsave", form.serialize(), function( json ){
|
|
$.getJSON( "/manager/top-slider/ajaxsave", form.serialize(), function( json ){
|
|
console.log(json);
|
|
console.log(json);
|
|
|
|
+ $('#modalcsl').modal('hide');
|
|
if( json.success == 'err' ){
|
|
if( json.success == 'err' ){
|
|
alert(json.err);
|
|
alert(json.err);
|
|
}
|
|
}
|