diff options
Diffstat (limited to 'view/jot-header.tpl')
-rwxr-xr-x | view/jot-header.tpl | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl index d6b172b6a..ef760abe0 100755 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -121,7 +121,6 @@ function enableOnUser(){ <script type="text/javascript" src="$baseurl/js/ajaxupload.js" ></script> <script> var ispublic = '$ispublic'; - var addtitle = '$addtitle'; $(document).ready(function() { @@ -262,6 +261,18 @@ function enableOnUser(){ } } + function itemFiler(id) { + reply = prompt("$fileas"); + if(reply && reply.length) { + commentBusy = true; + $('body').css('cursor', 'wait'); + $.get('filer/' + id + '?term=' + reply); + if(timer) clearTimeout(timer); + timer = setTimeout(NavUpdate,3000); + liking = 1; + } + } + function jotClearLocation() { $('#jot-coord').val(''); $('#profile-nolocation-wrapper').hide(); |