cronapp-framework-js 2.9.5 → 2.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/js/directives.js CHANGED
@@ -117,7 +117,8 @@
117
117
  selectDates: selectDates,
118
118
  disableDates: disableDates,
119
119
  min: min,
120
- max: max
120
+ max: max,
121
+ start: options.startView
121
122
  });
122
123
 
123
124
  let calendar = cronCalendarElement.data('kendoCalendar');
@@ -4615,7 +4616,7 @@
4615
4616
  scope.$watchCollection(function(){return ngModelCtrl.$modelValue}, function(value, old){
4616
4617
  var silent = $(combobox).data('silent');
4617
4618
 
4618
- if (value.length === 0) {
4619
+ if (value && value.length === 0) {
4619
4620
  $(`#${attrs.id}`).addClass('ng-empty');
4620
4621
  attrs.ngRequired && eval(attrs.ngRequired) && $(`#${attrs.id}`).attr('required', 'required');
4621
4622
  }
@@ -6545,6 +6546,10 @@ app.kendoHelper = {
6545
6546
  this.options.fromRead = false;
6546
6547
  delete this.options.cronappDatasource.reloadedFromCronapi;
6547
6548
  }
6549
+ if (type === "overRideRefresh") {
6550
+ this.options.refComponent.dataSource._page = 1;
6551
+ this.options.refComponent.dataSource._skip = 0;
6552
+ }
6548
6553
  this.options.refComponent.dataSource.read();
6549
6554
  }
6550
6555
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cronapp-framework-js",
3
- "version": "2.9.5",
3
+ "version": "2.9.6",
4
4
  "description": "Javascript library for CronApp's projects",
5
5
  "main": "cronapp.framework.js",
6
6
  "scripts": {