extjs-mvc 0.3.8 → 0.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/model/base.rb +2 -2
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.9
|
data/lib/model/base.rb
CHANGED
|
@@ -356,8 +356,8 @@ module ExtJS
|
|
|
356
356
|
elsif arguments[0].is_a?(Hash)
|
|
357
357
|
options.update(arguments[0])
|
|
358
358
|
end
|
|
359
|
-
elsif arguments.size == 1 && arguments[0].is_a?(Symbol)
|
|
360
|
-
fieldset = arguments.shift
|
|
359
|
+
elsif arguments.size == 1 && (arguments[0].is_a?(Symbol) || arguments[0].is_a?(String))
|
|
360
|
+
fieldset = arguments.shift.to_sym
|
|
361
361
|
elsif arguments.size == 1 && arguments[0].is_a?(Hash)
|
|
362
362
|
fieldset = arguments[0].delete(:fieldset) || :default
|
|
363
363
|
options.update(arguments[0])
|