]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frost-mobile/jot-header.tpl
Merge pull request #556 from fermionic/20121224-smarty3-template-collision
[friendica.git] / view / theme / frost-mobile / jot-header.tpl
index d409edea44a977d941df43f6e13a2c44912e0c82..b7aafc5ed94ff64b91053ef1a9adf3ebac49a6ec 100644 (file)
@@ -1,5 +1,6 @@
 
 <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.isPublic = "$ispublic";
        window.nickname = "$nickname";
@@ -10,6 +11,7 @@
        window.term = "$term";
        window.baseURL = "$baseurl";
        window.geoTag = function () { $geotag }
+       window.ajaxType = 'jot-header';
 </script>