Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-31 10:26:43 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-31 10:26:43 +0300
commit0f8aca9d87db9022fe942a3d3fbb11433e152676 (patch)
tree5b36724719611ebb87b3d9290a51475f32b48e64 /core/src/jquery/ocdialog.js
parentfc31cb8bf2d6cf7ee7af46af38e1b06002f7fb26 (diff)
Bump compiled files
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src/jquery/ocdialog.js')
-rw-r--r--core/src/jquery/ocdialog.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/core/src/jquery/ocdialog.js b/core/src/jquery/ocdialog.js
index 0fcc33c90a0..7e570d77f52 100644
--- a/core/src/jquery/ocdialog.js
+++ b/core/src/jquery/ocdialog.js
@@ -30,7 +30,7 @@ $.widget('oc.ocdialog', {
closeCallback: null,
modal: false,
},
- _create: function() {
+ _create() {
const self = this
this.originalCss = {
@@ -107,11 +107,11 @@ $.widget('oc.ocdialog', {
this._setOptions(this.options)
this._createOverlay()
},
- _init: function() {
+ _init() {
this.$dialog.focus()
this._trigger('open')
},
- _setOption: function(key, value) {
+ _setOption(key, value) {
const self = this
switch (key) {
case 'title':
@@ -190,11 +190,11 @@ $.widget('oc.ocdialog', {
// this._super(key, value);
$.Widget.prototype._setOption.apply(this, arguments)
},
- _setOptions: function(options) {
+ _setOptions(options) {
// this._super(options);
$.Widget.prototype._setOptions.apply(this, arguments)
},
- _setSizes: function() {
+ _setSizes() {
let lessHeight = 0
if (this.$title) {
lessHeight += this.$title.outerHeight(true)
@@ -206,7 +206,7 @@ $.widget('oc.ocdialog', {
'height': 'calc(100% - ' + lessHeight + 'px)',
})
},
- _createOverlay: function() {
+ _createOverlay() {
if (!this.options.modal) {
return
}
@@ -228,7 +228,7 @@ $.widget('oc.ocdialog', {
}
})
},
- _destroyOverlay: function() {
+ _destroyOverlay() {
if (!this.options.modal) {
return
}
@@ -239,16 +239,16 @@ $.widget('oc.ocdialog', {
this.overlay = null
}
},
- widget: function() {
+ widget() {
return this.$dialog
},
- setEnterCallback: function(callback) {
+ setEnterCallback(callback) {
this.enterCallback = callback
},
- unsetEnterCallback: function() {
+ unsetEnterCallback() {
this.enterCallback = null
},
- close: function() {
+ close() {
this._destroyOverlay()
const self = this
// Ugly hack to catch remaining keyup events.
@@ -259,7 +259,7 @@ $.widget('oc.ocdialog', {
self.$dialog.remove()
this.destroy()
},
- destroy: function() {
+ destroy() {
if (this.$title) {
this.$title.remove()
}