1
0
Fork 0
forked from 0x2620/oxjs
This commit is contained in:
rolux 2012-05-25 09:46:34 +02:00
commit 147d637b7b
32 changed files with 83 additions and 83 deletions

View file

@ -394,7 +394,7 @@ Ox.Filter = function(options, self) {
Ox.forEach(self.options.query.conditions, function(condition) {
if (condition.conditions) {
hasGroups = true;
Ox.Break()();
Ox.Break();
}
});
hasGroups && renderConditions();
@ -426,7 +426,7 @@ Ox.Filter = function(options, self) {
&& condition.value === ''
// FIXME: this used to be `return isUseless` - but was it intended
// to be the other way around, i.e. `isUseless && Ox.Break()`?
!isUseless && Ox.Break()();
!isUseless && Ox.Break();
});
Ox.Log('Form', 'isUseless', isUseless);
return isUseless;

View file

@ -65,7 +65,7 @@ Ox.FormPanel = function(options, self) {
Ox.forEach(self.options.form, function(section, i) {
if (section.title == data.ids[0]) {
self.section = i;
Ox.Break()();
Ox.Break();
}
});
self.$sections[self.section].show();
@ -147,7 +147,7 @@ Ox.FormPanel = function(options, self) {
Ox.forEach(self.options.form, function(section, i) {
if (section.title == title) {
index = i;
Ox.Break()();
Ox.Break();
}
});
return index;

View file

@ -88,7 +88,7 @@ Ox.InputGroup = function(options, self) {
Ox.forEach(self.options.inputs, function($input) {
if ($input.focusInput) {
$input.focusInput(true);
Ox.Break()();
Ox.Break();
}
});
}
@ -149,7 +149,7 @@ Ox.InputGroup = function(options, self) {
//Ox.Log('Form', v, v.options('id'), id)
if (v.options('id') == self.options.id + Ox.toTitleCase(id)) {
input = v;
Ox.Break()();
Ox.Break();
}
});
return input;

View file

@ -26,7 +26,7 @@ Ox.OptionGroup = function(items, min, max, property) {
), function(v) {
if (items[v][property]) {
last = v;
Ox.Break()();
Ox.Break();
}
});
return last;