From 262d20405e8d6023ff164136ff5874a3946c9d85 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 29 May 2012 11:42:42 +0200 Subject: [PATCH] fix forms2 demo, add same origin guard to widget_design_patterns/index.html --- demos/form2/js/form.js | 6 +++--- examples/widget_design_patterns/index.html | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/demos/form2/js/form.js b/demos/form2/js/form.js index 54bd8053..1ffe424a 100644 --- a/demos/form2/js/form.js +++ b/demos/form2/js/form.js @@ -6,9 +6,9 @@ Ox.load({UI: {}, Geo:{}, Unicode: {}}, function() { id: "panel" }) .appendTo($body), - countries = Ox.sortASCII(Ox.map(Ox.COUNTRIES, function(country) { + countries = Ox.sortASCII(Ox.filter(Ox.map(Ox.COUNTRIES, function(country) { return country.dissolved ? null : country.name; - })); + }))); objects = { "Button": [ { @@ -1278,4 +1278,4 @@ Ox.load({UI: {}, Geo:{}, Unicode: {}}, function() { }) .appendTo($panel); -}); \ No newline at end of file +}); diff --git a/examples/widget_design_patterns/index.html b/examples/widget_design_patterns/index.html index e551837e..9bc8aca5 100644 --- a/examples/widget_design_patterns/index.html +++ b/examples/widget_design_patterns/index.html @@ -7,7 +7,7 @@ - + - \ No newline at end of file +