From: <nk...@us...> - 2010-11-17 20:53:39
|
Revision: 30758 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=30758&view=rev Author: nkoth Date: 2010-11-17 20:53:32 +0000 (Wed, 17 Nov 2010) Log Message: ----------- [FIX] Workaround problem where xajax loading of editor within tiki-index leads to plugin help breaking, i.e. no content shown for plugin help Modified Paths: -------------- branches/6.x/lib/smarty_tiki/block.ajax_href.php Modified: branches/6.x/lib/smarty_tiki/block.ajax_href.php =================================================================== --- branches/6.x/lib/smarty_tiki/block.ajax_href.php 2010-11-17 19:38:04 UTC (rev 30757) +++ branches/6.x/lib/smarty_tiki/block.ajax_href.php 2010-11-17 20:53:32 UTC (rev 30758) @@ -48,7 +48,8 @@ $last_user = htmlspecialchars($user); // temporary switch to not do ajax for ckeditor button - not reliable in tiki 6 - if ( $prefs['ajax_xajax'] !== 'y' || $prefs['javascript_enabled'] == 'n' || ($template === 'tiki-editpage.tpl' && $info['wysiwyg'] === 'y')) { +// Actually in tiki 6 even when not ckeditor if you edit while in tiki-index vs editpage the plugin help breaks as well, you get blank help + if ( $prefs['ajax_xajax'] !== 'y' || $prefs['javascript_enabled'] == 'n' || ($template === 'tiki-editpage.tpl') { return " href=\"$url\" "; } else { $max_tikitabs = 50; // Same value as in header.tpl, <body> tag onload's param This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |