projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69299f7
)
Builder/LeftPanel.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 11 May 2010 10:11:54 +0000
(18:11 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 11 May 2010 10:11:54 +0000
(18:11 +0800)
Builder/LeftPanel.js
patch
|
blob
|
history
diff --git
a/Builder/LeftPanel.js
b/Builder/LeftPanel.js
index
14e6749
..
ebc872f
100755
(executable)
--- a/
Builder/LeftPanel.js
+++ b/
Builder/LeftPanel.js
@@
-138,7
+138,7
@@
LeftPanel = new XObject({
add : function(key, type, val, skel) {
-
+ type = type.toLowerCase();
var data = this.toJS();
if ((typeof(data[key]) != 'undefined') &&
(typeof(val) == 'undefined') ) {
@@
-147,12
+147,13
@@
LeftPanel = new XObject({
if (typeof(val) == 'undefined') {
val = '';
- if (type == '
B
oolean') {
+ if (type == '
b
oolean') {
val = true;
}
- if (type == '
N
umber') {
+ if (type == '
n
umber') {
val = 0;
}
+ // utf8 == string..
}