summaryrefslogtreecommitdiff
path: root/src/client/buttons.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/buttons.js')
-rw-r--r--src/client/buttons.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/buttons.js b/src/client/buttons.js
index 699688c4..f175080b 100644
--- a/src/client/buttons.js
+++ b/src/client/buttons.js
@@ -208,7 +208,7 @@ $('#btn_rzdoc__open').click(function() {
return;
}
- document.location.href = '/rz/' + rzdoc_name // redirect to rzdoc URL
+ rz_core.rzdoc__open(rzdoc_name);
});
}
var on_error = function() {