Remove jquery sourcemap reference
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,6 +1,19 @@
|
||||
|
||||
//TODO: WE NEED TO CONVERT ALL OF THESE METHODS TO PROXY TO OUR APPLICATION SINCE MANY CUSTOM APPS USE THIS!
|
||||
|
||||
//TEST to mock iframe, this intercepts calls directly
|
||||
//to the old iframe, and funnels requests to angular directly
|
||||
var right = {document: {location: {}}};
|
||||
Object.defineProperty(right.document.location, "href", {
|
||||
get: function() {
|
||||
return this._href ? this._href : "";
|
||||
},
|
||||
set: function(value) {
|
||||
this._href = value;
|
||||
UmbClientMgr.contentFrame(value);
|
||||
},
|
||||
});
|
||||
|
||||
Umbraco.Sys.registerNamespace("Umbraco.Application");
|
||||
|
||||
(function($) {
|
||||
@@ -130,13 +143,13 @@ Umbraco.Sys.registerNamespace("Umbraco.Application");
|
||||
contentFrame: function (strLocation) {
|
||||
|
||||
if (!strLocation || strLocation == "") {
|
||||
//SD: NOTE: We used to return the content iframe object but now I'm not sure we should do that ?!
|
||||
|
||||
if (typeof top.right != "undefined") {
|
||||
return top.right;
|
||||
}
|
||||
else {
|
||||
return top; //return the current window if the content frame doesn't exist in the current context
|
||||
//SD: NOTE: We used to return the content iframe object but now I'm not sure we should do that ?!
|
||||
|
||||
if (typeof top.right != "undefined") {
|
||||
return top.right;
|
||||
}
|
||||
else {
|
||||
return top; //return the current window if the content frame doesn't exist in the current context
|
||||
}
|
||||
//return;
|
||||
}
|
||||
@@ -167,15 +180,15 @@ Umbraco.Sys.registerNamespace("Umbraco.Application");
|
||||
var injector = getRootInjector();
|
||||
var dialogService = injector.get("dialogService");
|
||||
|
||||
var dialog = dialogService.open({
|
||||
var dialog = dialogService.open({
|
||||
template: url,
|
||||
width: width,
|
||||
height: height,
|
||||
iframe: true,
|
||||
show: true,
|
||||
callback: function (result) {
|
||||
dialog.hide();
|
||||
}
|
||||
callback: function (result) {
|
||||
dialog.hide();
|
||||
}
|
||||
});
|
||||
|
||||
// var m = new Umbraco.Controls.ModalWindow();
|
||||
|
||||
Reference in New Issue
Block a user