Index: ssts-web/src/main/webapp/disinfectsystem/basedatamanager/supplyroomtype/supplyRoomTypeForm.js =================================================================== diff -u -r35412 -r35420 --- ssts-web/src/main/webapp/disinfectsystem/basedatamanager/supplyroomtype/supplyRoomTypeForm.js (.../supplyRoomTypeForm.js) (revision 35412) +++ ssts-web/src/main/webapp/disinfectsystem/basedatamanager/supplyroomtype/supplyRoomTypeForm.js (.../supplyRoomTypeForm.js) (revision 35420) @@ -1163,9 +1163,17 @@ name: 'dashboardsRefreshFrequency', minValue:1, value:30, + maxValue:9999, allowNegative: false, allowBlank: SSTS_RealTimeDashboards, - anchor: '100%' + anchor: '100%', + listeners:{ + blur:function(thiz, e, eOpts){ + if(this.value.length > 4){ + this.setValue(9999) + } + } + } }] }, { layout: 'form', @@ -1203,9 +1211,17 @@ name: 'noOperationTime', minValue:1, value:5, + maxValue:9999, allowNegative: false, allowBlank: SSTS_RealTimeDashboards, - anchor: '100%' + anchor: '100%', + listeners:{ + blur:function(thiz, e, eOpts){ + if(this.value.length > 4){ + this.setValue(9999) + } + } + } }] }, { layout: 'form', @@ -1219,9 +1235,17 @@ name: 'dashboardsQueryCycle', minValue:0, value:7, + maxValue:9999, allowNegative: false, allowBlank: SSTS_RealTimeDashboards, - anchor: '100%' + anchor: '100%', + listeners:{ + blur:function(thiz, e, eOpts){ + if(this.value.length > 4){ + this.setValue(9999) + } + } + } }] } ]