Move code from ui-elements to common-interface

This commit is contained in:
yflory
2020-03-31 10:38:42 +02:00
parent 179e7d68b4
commit 817309d602
5 changed files with 33 additions and 35 deletions

View File

@@ -2892,7 +2892,7 @@ define([
$element.append($('<span>', {'class': 'cp-app-drive-element-name'})
.text(Messages.fm_newFile));
$element.click(function () {
var $modal = UIElements.createModal({
var $modal = UI.createModal({
id: 'cp-app-drive-new-ghost-dialog',
$body: $('body')
});