U4-408: Prevent dragging of toolbar icons by adding onmousedown="return false"

This commit is contained in:
Tom Fulton
2012-10-25 16:36:21 +04:00
parent d9049864f3
commit 78d57e89d5

View File

@@ -60,7 +60,7 @@ namespace umbraco.uicontrols {
this.Attributes.Add("onMouseout", "this.className='editorIcon'");
this.Attributes.Add("onMouseup", "this.className='editorIcon'");
// }
this.Attributes.Add("onMouseDown", "this.className='editorIconDown'");
this.Attributes.Add("onMouseDown", "this.className='editorIconDown'; return false;");
this.AlternateText = _AltText;
this.Attributes.Add("title", _AltText);