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:
Shandem
2010-03-03 15:19:51 +00:00
parent f0228555f8
commit a72d80e646
22 changed files with 513 additions and 1162 deletions

View File

@@ -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) {