Changeset 3826:e2716fb376e6 for plugins
- Timestamp:
- 08/26/18 19:10:29 (7 years ago)
- Branch:
- default
- Location:
- plugins/widgets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/widgets/index.php
r3825 r3826 223 223 } 224 224 if ($rte_flag) { 225 echo dcPage::jsVars(array('dotclear.widget_noeditor' => 0)); 225 226 echo $core->callBehavior('adminPostEditor', $widget_editor['xhtml'], 'widget', 226 227 array('#sidebarsWidgets textarea:not(.noeditor)'), 'xhtml'); 228 } else { 229 echo dcPage::jsVars(array('dotclear.widget_noeditor' => 1)); 227 230 } 228 231 echo (dcPage::jsConfirmClose('sidebarsWidgets')); -
plugins/widgets/js/dragdrop.js
r3709 r3826 71 71 'width': $('#widgets-ref > li').css('width') 72 72 }); 73 }, 74 stop: function(event, ui) { 75 if (!dotclear.widget_noeditor) { 76 ui.helper.find('textarea:not(.noeditor)').each(function() { 77 if ($.isFunction(jsToolBar)) { 78 var tbWidgetText = new jsToolBar(this); 79 tbWidgetText.draw('xhtml'); 80 } 81 }) 82 } 73 83 } 74 84 });
Note: See TracChangeset
for help on using the changeset viewer.