aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js
index e2a265a1c..f43ae4d1b 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -112,8 +112,9 @@
return true;
}
-
-
+ function viewsrc(id) {
+ $.colorbox({href: 'viewsrc/' + id });
+ }
function qCommentInsert(obj,id) {
var tmpStr = $("#comment-edit-text-" + id).val();