diff --git a/source/Ox.UI/js/Calendar/CalendarEditor.js b/source/Ox.UI/js/Calendar/CalendarEditor.js index 65c32f59..beda628b 100644 --- a/source/Ox.UI/js/Calendar/CalendarEditor.js +++ b/source/Ox.UI/js/Calendar/CalendarEditor.js @@ -535,13 +535,12 @@ Ox.CalendarEditor = function(options, self) { }) .bindEvent({ resize: function(data) { - self.$eventTitleName.options({width: data.size - 48}); + self.$eventName.options({width: data.size - 28}); // fixme: pass width through form - /* - self.$eventFormItems.forEach(function($item) { + self.$eventForm.options('items').forEach(function($item) { $item.options({width: data.size - 16}); }); - */ + self.$matchesInput.options({width: data.size - 16}); } }), resizable: true, diff --git a/source/Ox.UI/js/Map/MapEditor.js b/source/Ox.UI/js/Map/MapEditor.js index 1d87e621..8dda2a2b 100644 --- a/source/Ox.UI/js/Map/MapEditor.js +++ b/source/Ox.UI/js/Map/MapEditor.js @@ -765,7 +765,7 @@ Ox.MapEditor = function(options, self) { resize: function(data) { self.$placeName.options({width: data.size - 48}); // fixme: pass width through form - self.$placeFormItems.forEach(function($item) { + self.$placeForm.options('items').forEach(function($item) { $item.options({width: data.size - 16}); }); self.$areaKmInput.options({width: data.size - 16});