projects
/
evergreen
/
joelewis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d934e6
)
Changed trim to use a dojo function.
lp_1028544
author
Joseph Lewis
<joehms22@gmail.com>
Mon, 6 Aug 2012 16:34:24 +0000
(10:34 -0600)
committer
Joseph Lewis
<joehms22@gmail.com>
Mon, 6 Aug 2012 16:34:24 +0000
(10:34 -0600)
Open-ILS/web/js/dojo/openils/Util.js
patch
|
blob
|
history
diff --git
a/Open-ILS/web/js/dojo/openils/Util.js
b/Open-ILS/web/js/dojo/openils/Util.js
index
1fc363a
..
dadde96
100644
(file)
--- a/
Open-ILS/web/js/dojo/openils/Util.js
+++ b/
Open-ILS/web/js/dojo/openils/Util.js
@@
-292,7
+292,7
@@
if(!dojo._hasResource["openils.Util"]) {
* Convenience function to trim leading and trailing whitespace at once.
*/
openils.Util.trimString = function(s) {
- return
s.replace(/^\s*(.*?)\s*$/,"$1"
);
+ return
dojo.trim(s
);
}
/**