amic 1 mēnesi atpakaļ
vecāks
revīzija
fcab236011
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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);
 		}