projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71bdeaa
)
Roo/XTemplate.js
author
Alan Knowles
<alan@akbkhome.com>
Sat, 7 Apr 2012 06:51:56 +0000
(14:51 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sat, 7 Apr 2012 06:51:56 +0000
(14:51 +0800)
Roo/XTemplate.js
patch
|
blob
|
history
diff --git
a/Roo/XTemplate.js
b/Roo/XTemplate.js
index
ba52f61
..
ce666d4
100644
(file)
--- a/
Roo/XTemplate.js
+++ b/
Roo/XTemplate.js
@@
-166,7
+166,7
@@
Roo.extend(Roo.XTemplate, Roo.Template, {
var fn = function(m, name, format, args)
{
Roo.log(arguments);
- args = arg
.replace(/\\'/g,"'")
;
+ args = arg
s ? arg.replace(/\\'/g,"'") : args
;
//["{TEST:(a,b,c)}", "TEST", "", "a,b,c", 0, "{TEST:(a,b,c)}"]
if (typeof(format) == 'undefined') {
format= 'htmlEncode';