amic 3 semanas atrás
pai
commit
fcab236011
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      modules/manager/views/top-slider/modalform.php

+ 2 - 1
modules/manager/views/top-slider/modalform.php

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