summaryrefslogtreecommitdiffstats
path: root/core/js/sharedialogexpirationview.js
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-08-19 21:03:25 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-19 21:03:25 +0200
commit555ea93b1cfc19ead7e382297e4c8d5698652bc8 (patch)
tree8571016eb10f0074c9d0239634d075773596b4d3 /core/js/sharedialogexpirationview.js
parent8007ea60fbfa5de663753813a03041ca4c53384f (diff)
downloadnextcloud-server-555ea93b1cfc19ead7e382297e4c8d5698652bc8.tar.gz
nextcloud-server-555ea93b1cfc19ead7e382297e4c8d5698652bc8.zip
Fix some jshint issues in core/js/share*
Diffstat (limited to 'core/js/sharedialogexpirationview.js')
-rw-r--r--core/js/sharedialogexpirationview.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/sharedialogexpirationview.js b/core/js/sharedialogexpirationview.js
index d1b326a56bc..a9849ef9161 100644
--- a/core/js/sharedialogexpirationview.js
+++ b/core/js/sharedialogexpirationview.js
@@ -8,7 +8,7 @@
*
*/
-/* global moment */
+/* global moment, Handlebars */
(function() {
if (!OC.Share) {
@@ -107,7 +107,7 @@
$target.tooltip('hide');
$target.removeClass('error');
- expiration = moment($target.val(), 'DD-MM-YYYY').format('YYYY-MM-DD');
+ var expiration = moment($target.val(), 'DD-MM-YYYY').format('YYYY-MM-DD');
this.model.get('linkShare').expiration = expiration;
this.model.saveLinkShare({
expiration: expiration