]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frost/smarty3/jot-header.tpl
update to Frost v0.4
[friendica.git] / view / theme / frost / smarty3 / jot-header.tpl
index 2ef86d5a8eb71eb90a53aeb9bb813ec1dc921404..92a6aed1d85258b588ff73937f132467ea89e177 100644 (file)
@@ -5,8 +5,7 @@
  *}}
 
 <script>
-       var none = "none"; // ugly hack: {{$editselect}} shouldn't be a string if TinyMCE is enabled, but should if it isn't
-       window.editSelect = {{$editselect}};
+       window.editSelect = "{{$editselect}}";
        window.isPublic = "{{$ispublic}}";
        window.nickname = "{{$nickname}}";
        window.linkURL = "{{$linkurl}}";
@@ -16,7 +15,8 @@
        window.term = "{{$term}}";
        window.baseURL = "{{$baseurl}}";
        window.geoTag = function () { {{$geotag}} }
-       window.ajaxType = 'jot-header';
+       window.jotId = "#profile-jot-text";
+       window.imageUploadButton = 'wall-image-upload';
        window.delItems = '{{$delitems}}';
 </script>