Changeset 3936:4ae4c187b41e for plugins
- Timestamp:
- 11/22/18 14:10:26 (7 years ago)
- Branch:
- default
- Children:
- 3937:8783cf8c1236, 3949:47fa8f351f8a
- Location:
- plugins/widgets/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/widgets/js/dragdrop.js
r3914 r3936 75 75 if (!dotclear.widget_noeditor) { 76 76 ui.helper.find('textarea:not(.noeditor)').each(function() { 77 if ( $.isFunction(jsToolBar)) {77 if (typeof jsToolBar !== 'undefined' && $.isFunction(jsToolBar)) { 78 78 const tbWidgetText = new jsToolBar(this); 79 79 tbWidgetText.draw('xhtml'); -
plugins/widgets/js/widgets.js
r3914 r3936 124 124 125 125 // HTML text editor 126 if ( $.isFunction(jsToolBar)) {126 if (typeof jsToolBar !== 'undefined' && $.isFunction(jsToolBar)) { 127 127 $('#sidebarsWidgets textarea:not(.noeditor)').each(function() { 128 128 let tbWidgetText = new jsToolBar(this);
Note: See TracChangeset
for help on using the changeset viewer.