projects
/
evergreen
/
equinox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f87dba4
)
Protect against empty kwargs hash
author
berick
<berick@esilibrary.com>
Thu, 26 May 2011 19:17:20 +0000
(15:17 -0400)
committer
berick
<berick@esilibrary.com>
Thu, 26 May 2011 19:17:20 +0000
(15:17 -0400)
Signed-off-by: berick <berick@esilibrary.com>
Open-ILS/web/js/dojo/openils/AuthorityControlSet.js
patch
|
blob
|
history
diff --git
a/Open-ILS/web/js/dojo/openils/AuthorityControlSet.js
b/Open-ILS/web/js/dojo/openils/AuthorityControlSet.js
index
a1e7186
..
46ad394
100644
(file)
--- a/
Open-ILS/web/js/dojo/openils/AuthorityControlSet.js
+++ b/
Open-ILS/web/js/dojo/openils/AuthorityControlSet.js
@@
-28,6
+28,8
@@
if(!dojo._hasResource["openils.AuthorityControlSet"]) {
constructor : function(kwargs) {
+ kwargs = kwargs || {};
+
if (!openils.AuthorityControlSet._remote_loaded) {
// TODO -- push the raw tree into the oils cache for later reuse