Vergleich jscripts/editor.js - 1.6.0 - 1.6.4

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 439Zeile 439
		var dropdown = this.getElementToolbarItem(mnu);
var label = dropdown.down('.editor_dropdown_label');


		var dropdown = this.getElementToolbarItem(mnu);
var label = dropdown.down('.editor_dropdown_label');


		if(!dropdown.insertText || (mnu.activeItem && mnu.activeItem == element))

		if(!dropdown.insertText || (dropdown.insertText != "video" && mnu.activeItem && mnu.activeItem == element))

			return;

mnu.lastItemValue = element.extra;

			return;

mnu.lastItemValue = element.extra;

		this.insertMyCode(dropdown.insertText, element.extra);

 

if(this.getSelectedText($(this.textarea)))
{
this.setDropDownMenuActiveItem(dropdown, 0);


if(this.getSelectedText($(this.textarea)))
{
this.setDropDownMenuActiveItem(dropdown, 0);

		}

		}

		else
{
if(label)

		else
{
if(label)

Zeile 466Zeile 465
			mnu.activeItem = element;
element.addClassName('editor_dropdown_menu_item_active');
}

			mnu.activeItem = element;
element.addClassName('editor_dropdown_menu_item_active');
}

 

this.insertMyCode(dropdown.insertText, element.extra);

		this.hideOpenDropDownMenu();
Event.stop(e);
},

		this.hideOpenDropDownMenu();
Event.stop(e);
},