From 6ec375c9ce688d16a5df144850345bc5e2135672 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Thu, 2 Jun 2011 08:04:22 +0000 Subject: [PATCH] misc fixes --- source/Ox.UI/js/Form/Ox.Filter.js | 1 + source/Ox.UI/js/Map/Ox.ListMap.js | 2 ++ source/Ox.UI/js/Map/Ox.MapMarker.js | 2 ++ 3 files changed, 5 insertions(+) diff --git a/source/Ox.UI/js/Form/Ox.Filter.js b/source/Ox.UI/js/Form/Ox.Filter.js index 17672d45..255b5e2e 100644 --- a/source/Ox.UI/js/Form/Ox.Filter.js +++ b/source/Ox.UI/js/Form/Ox.Filter.js @@ -118,6 +118,7 @@ Ox.Filter = function(options, self) { Ox.FormElementGroup({ elements: [ Ox.Input({ + type: 'int', width: 56 }), Ox.Select({ diff --git a/source/Ox.UI/js/Map/Ox.ListMap.js b/source/Ox.UI/js/Map/Ox.ListMap.js index c0dfcfbe..cb9c21e9 100644 --- a/source/Ox.UI/js/Map/Ox.ListMap.js +++ b/source/Ox.UI/js/Map/Ox.ListMap.js @@ -484,6 +484,7 @@ Ox.ListMap = function(options, self) { }), [ self.$areaInput = Ox.Input({ id: 'area', + type: 'float' }).hide() ]); @@ -570,6 +571,7 @@ Ox.ListMap = function(options, self) { that.$element = Ox.SplitPanel({ elements: [ { + collapsible: true, element: Ox.SplitPanel({ elements: [ { diff --git a/source/Ox.UI/js/Map/Ox.MapMarker.js b/source/Ox.UI/js/Map/Ox.MapMarker.js index 982b8956..2bb563a6 100644 --- a/source/Ox.UI/js/Map/Ox.MapMarker.js +++ b/source/Ox.UI/js/Map/Ox.MapMarker.js @@ -162,6 +162,8 @@ Ox.MapMarker = function(options) { Ox.forEach(areaSize, function(size, area) { if (that.place.area > area) { that.size = size; + } else { + return false; } }); }