X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fjot-header.tpl;h=eb74c31dad41466d3ba270aaf088564e053427d4;hb=20d4fda22f26a99e7da930be639874f80ae7060d;hp=97e30cdae79f2d3fc5e18e4bc4252fc4728c8342;hpb=88bfe21bead769c3ba81e181b79f9d6426ace351;p=friendica.git
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
index 97e30cdae7..eb74c31dad 100644
--- a/view/jot-header.tpl
+++ b/view/jot-header.tpl
@@ -1,51 +1,232 @@
-
-
+ $('.item-select').each( function() {
+ if($(this).is(':checked')) {
+ if(checkedstr.length != 0) {
+ checkedstr = checkedstr + ',' + $(this).val();
+ }
+ else {
+ checkedstr = $(this).val();
+ }
+ }
+ });
+ $.post('item', { dropitems: checkedstr }, function(data) {
+ window.location.reload();
+ });
+ }
+
+ function jotGetLink() {
+ reply = prompt("$linkurl");
+ if(reply && reply.length) {
+ reply = bin2hex(reply);
+ $('#profile-rotator').show();
+ $.get('parse_url?binurl=' + reply, function(data) {
+ tinyMCE.execCommand('mceInsertRawHTML',false,data);
+ $('#profile-rotator').hide();
+ });
+ }
+ }
-
\ No newline at end of file
+