diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2013-05-16 18:19:28 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2013-05-16 18:19:28 +0200 |
commit | 913941d894579ed332169a7573654fd6b0ca9eca (patch) | |
tree | f1beb3edf32b8eb372079055d889fa5cca95c470 /core/js | |
parent | c8bbf90feb5a874b9988198747b79c4f43708740 (diff) | |
download | nextcloud-server-913941d894579ed332169a7573654fd6b0ca9eca.tar.gz nextcloud-server-913941d894579ed332169a7573654fd6b0ca9eca.zip |
Line length etc.
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/oc-dialogs.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index c0c035bafdd..89897382878 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -1,7 +1,7 @@ /** * ownCloud * - * @author Bartek Przybylski,Christopher Schäpers, Thomas Tanghus + * @author Bartek Przybylski, Christopher Schäpers, Thomas Tanghus * @copyright 2012 Bartek Przybylski bartek@alefzero.eu * * This library is free software; you can redistribute it and/or @@ -396,7 +396,8 @@ var OCdialogs = { * handle selection made in the tree list */ handleTreeListSelect:function(event) { - if ($('option:selected', this).html().indexOf('/') !== -1) { // if there's a slash in the selected path, don't append it + // if there's a slash in the selected path, don't append it + if ($('option:selected', this).html().indexOf('/') !== -1) { $(event.data.dcid).data('path', $('option:selected', this).html()); } else { $(event.data.dcid).data('path', $(event.data.dcid).data('path') + $('option:selected', this).html() + '/'); |