projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb3992f
)
Make openSidebar() work with no argument.
author
Tom Hughes
<tom@compton.nu>
Sat, 19 Apr 2008 13:52:31 +0000
(13:52 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sat, 19 Apr 2008 13:52:31 +0000
(13:52 +0000)
app/views/site/_sidebar.rhtml
patch
|
blob
|
history
diff --git
a/app/views/site/_sidebar.rhtml
b/app/views/site/_sidebar.rhtml
index d813635905971a9c86a69b8c2b69aed017bca886..ad2845ff47ed8a637f6079e9fbf3ff31017a2124 100644
(file)
--- a/
app/views/site/_sidebar.rhtml
+++ b/
app/views/site/_sidebar.rhtml
@@
-14,6
+14,8
@@
var onclose;
function openSidebar(options) {
+ options = options || {};
+
if (onclose) {
onclose();
onclose = null;