Javascript-форум (https://javascript.ru/forum/)
-   ExtJS (https://javascript.ru/forum/extjs/)
-   -   problems width ext js(tinymce) (https://javascript.ru/forum/extjs/17140-problems-width-ext-js-tinymce.html)

avaVusal 07.05.2011 15:38

problems width ext js(tinymce)
 
Здравствуйте,есть окно в корой есть форма,одним из полей формы является tinymce.Итак при первом открытии окна при отправке формы она отправляется,но если закрыть и открыть окно после попытаться отправиь форму то возникает ошибка e.selection is null.Выяснил что причиной ошиьки является tinymce. Вот код tinymce:
xtype:'".strtolower($params[2])."',
										  name:'content',
										  id:'content',
										  fieldLabel:'Content',
										  tinymceSettings: {
											  theme: 'advanced',
											  skin: 'o2k7',
											  plugins: 'pagebreak,style,table,advimage,advlink,emotions,media,contextmenu',
											  theme_advanced_buttons1: 'bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect',
											  theme_advanced_buttons2: 'tablecontrols,|,hr,removeformat,|,emotions,media,pagebreak,pastetext,pasteword,bullist,numlist,|,link,unlink,image,cleanup,code,|,forecolor,backcolor',
											  theme_advanced_buttons3: '',
											  theme_advanced_buttons4: '',
											  theme_advanced_toolbar_location: 'top',
											  theme_advanced_toolbar_align: 'left',
											  theme_advanced_statusbar_location: 'bottom',
											  theme_advanced_resizing: true,
											  extended_valid_elements: 'a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]',
										  }
									 }


Часовой пояс GMT +3, время: 12:40.