Browse Source

Merge pull request #324 in FUI/fineui from ~WINDY/fui:master to master

* commit 'ac5e232b66001df8254ad8069f66bb0ce848aa89':
  update
es6
guy 7 years ago
parent
commit
2539cf74d5
  1. 4
      dist/_fineui.min.js
  2. 8
      dist/bundle.js
  3. 4
      dist/bundle.min.js
  4. 8
      dist/widget.js
  5. 4
      src/widget/dynamicdate/dynamicdate.combo.js
  6. 4
      src/widget/dynamicdatetime/dynamicdatetime.combo.js

4
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

8
dist/bundle.js vendored

@ -90162,7 +90162,7 @@ BI.extend(BI.DynamicDateCard, {
action: function () { action: function () {
self.storeValue = { self.storeValue = {
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth() month: date.getMonth() + 1
}; };
self.fireEvent(BI.DynamicDateCombo.EVENT_ERROR); self.fireEvent(BI.DynamicDateCombo.EVENT_ERROR);
} }
@ -90218,7 +90218,7 @@ BI.extend(BI.DynamicDateCard, {
var date = BI.getDate(); var date = BI.getDate();
self.setValue({ self.setValue({
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth(), month: date.getMonth() + 1,
day: date.getDate() day: date.getDate()
}); });
self.combo.hideView(); self.combo.hideView();
@ -90979,7 +90979,7 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime
action: function () { action: function () {
self.storeValue = { self.storeValue = {
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth() month: date.getMonth() + 1
}; };
self.fireEvent(BI.DynamicDateTimeCombo.EVENT_ERROR); self.fireEvent(BI.DynamicDateTimeCombo.EVENT_ERROR);
} }
@ -91035,7 +91035,7 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime
var date = BI.getDate(); var date = BI.getDate();
self.setValue({ self.setValue({
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth(), month: date.getMonth() + 1,
day: date.getDate(), day: date.getDate(),
hour: 0, hour: 0,
minute: 0, minute: 0,

4
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

8
dist/widget.js vendored

@ -3531,7 +3531,7 @@ BI.extend(BI.DynamicDateCard, {
action: function () { action: function () {
self.storeValue = { self.storeValue = {
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth() month: date.getMonth() + 1
}; };
self.fireEvent(BI.DynamicDateCombo.EVENT_ERROR); self.fireEvent(BI.DynamicDateCombo.EVENT_ERROR);
} }
@ -3587,7 +3587,7 @@ BI.extend(BI.DynamicDateCard, {
var date = BI.getDate(); var date = BI.getDate();
self.setValue({ self.setValue({
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth(), month: date.getMonth() + 1,
day: date.getDate() day: date.getDate()
}); });
self.combo.hideView(); self.combo.hideView();
@ -4348,7 +4348,7 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime
action: function () { action: function () {
self.storeValue = { self.storeValue = {
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth() month: date.getMonth() + 1
}; };
self.fireEvent(BI.DynamicDateTimeCombo.EVENT_ERROR); self.fireEvent(BI.DynamicDateTimeCombo.EVENT_ERROR);
} }
@ -4404,7 +4404,7 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime
var date = BI.getDate(); var date = BI.getDate();
self.setValue({ self.setValue({
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth(), month: date.getMonth() + 1,
day: date.getDate(), day: date.getDate(),
hour: 0, hour: 0,
minute: 0, minute: 0,

4
src/widget/dynamicdate/dynamicdate.combo.js

@ -84,7 +84,7 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, {
action: function () { action: function () {
self.storeValue = { self.storeValue = {
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth() month: date.getMonth() + 1
}; };
self.fireEvent(BI.DynamicDateCombo.EVENT_ERROR); self.fireEvent(BI.DynamicDateCombo.EVENT_ERROR);
} }
@ -140,7 +140,7 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, {
var date = BI.getDate(); var date = BI.getDate();
self.setValue({ self.setValue({
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth(), month: date.getMonth() + 1,
day: date.getDate() day: date.getDate()
}); });
self.combo.hideView(); self.combo.hideView();

4
src/widget/dynamicdatetime/dynamicdatetime.combo.js

@ -84,7 +84,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
action: function () { action: function () {
self.storeValue = { self.storeValue = {
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth() month: date.getMonth() + 1
}; };
self.fireEvent(BI.DynamicDateTimeCombo.EVENT_ERROR); self.fireEvent(BI.DynamicDateTimeCombo.EVENT_ERROR);
} }
@ -140,7 +140,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
var date = BI.getDate(); var date = BI.getDate();
self.setValue({ self.setValue({
year: date.getFullYear(), year: date.getFullYear(),
month: date.getMonth(), month: date.getMonth() + 1,
day: date.getDate(), day: date.getDate(),
hour: 0, hour: 0,
minute: 0, minute: 0,

Loading…
Cancel
Save