Fixes: U4-2943 Insert macro dialog no longer works when editing mvc views, U4-2930 Get macro picker dialog working with partial views and partial view macros
This commit is contained in:
@@ -57,13 +57,13 @@
|
||||
var self = this;
|
||||
|
||||
UmbClientMgr.openAngularModalWindow({
|
||||
template: "views/templates/insertmacro.html",
|
||||
template: "views/common/dialogs/insertmacro.html",
|
||||
dialogData: {
|
||||
renderingEngine: "Mvc",
|
||||
selectedAlias: alias
|
||||
},
|
||||
callback: function (data) {
|
||||
UmbEditor.Insert(data, '', self._opts.codeEditorElementId);
|
||||
UmbEditor.Insert(data.syntax, '', self._opts.codeEditorElementId);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user