summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorRobin Millette <millette@controlyourself.ca>2009-05-24 18:40:11 -0400
committerRobin Millette <millette@controlyourself.ca>2009-05-24 18:40:11 -0400
commitb0a891e92b55ea6d3323e8efe528f46afda7c1fc (patch)
treef67ecd5871f9de983d5d2df51b1de579113f8034 /js
parentbd70caace84758e6655f8db4957049492834a6c6 (diff)
Made ajax link to show attachment popups relative in util.js
Diffstat (limited to 'js')
-rw-r--r--js/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/util.js b/js/util.js
index 1b75c5e22..6511c0380 100644
--- a/js/util.js
+++ b/js/util.js
@@ -20,7 +20,7 @@ $(document).ready(function(){
// attachments and attachment pages not used at the moment except for attachment_ajax version
// $('.attachments').click(function() {$().jOverlay({zIndex:999, success:function(html) {$('.attachment').click(function() {$().jOverlay({url:$(this).attr('href') + '/ajax'}); return false; });
// }, url:$(this).attr('href') + '/ajax'}); return false; });
- $('.attachment').click(function() {$().jOverlay({url:'http://laptop.waglo.com/attachment/' + ($(this).attr('id').substring('attachment'.length + 1)) + '/ajax'}); return false; });
+ $('.attachment').click(function() {$().jOverlay({url:'../attachment/' + ($(this).attr('id').substring('attachment'.length + 1)) + '/ajax'}); return false; });
// count character on keyup
function counter(event){