Ox.break -> Ox.Break
This commit is contained in:
parent
b7d9d9ba54
commit
544e117cb3
41 changed files with 100 additions and 100 deletions
|
|
@ -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();
|
||||
|
|
@ -425,8 +425,8 @@ Ox.Filter = function(options, self) {
|
|||
).indexOf(condition.operator) > -1
|
||||
&& 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();
|
||||
// to be the other way around, i.e. `isUseless && Ox.Break()`?
|
||||
!isUseless && Ox.Break()();
|
||||
});
|
||||
Ox.Log('Form', 'isUseless', isUseless);
|
||||
return isUseless;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue