Minor fixes with tree pickers and support for Canvas.
Removal of AjaxControlToolkit from Canvas and custom non-used extenders. Refactored Canvas with new modal window lib, better jQuery and browser support. Minor CSS fixees. [TFS Changeset #64405]
This commit is contained in:
@@ -19,19 +19,9 @@ Umbraco.Sys.registerNamespace("Umbraco.Controls");
|
||||
return $("#" + this._itemIdValueClientID).val();
|
||||
},
|
||||
|
||||
LaunchPicker: function(e) {
|
||||
LaunchPicker: function() {
|
||||
var _this = this;
|
||||
UmbClientMgr.openModalWindow(this._itemPickerUrl, this._label, this._showHeader, this._width, this._height, 30, 0, ['#cancelbutton'], function(e) { _this.SaveSelection(e); });
|
||||
|
||||
var aBetterEventObject = jQuery.Event(e);
|
||||
// Now you can do what you want: (Cross-browser)
|
||||
aBetterEventObject.preventDefault()
|
||||
aBetterEventObject.isDefaultPrevented()
|
||||
aBetterEventObject.stopPropagation()
|
||||
aBetterEventObject.isPropagationStopped()
|
||||
aBetterEventObject.stopImmediatePropagation()
|
||||
aBetterEventObject.isImmediatePropagationStopped()
|
||||
return false;
|
||||
},
|
||||
|
||||
SaveSelection: function(e) {
|
||||
|
||||
Reference in New Issue
Block a user