Skip to content
Snippets Groups Projects
Commit 913941d8 authored by Thomas Tanghus's avatar Thomas Tanghus
Browse files

Line length etc.

parent c8bbf90f
No related branches found
No related tags found
No related merge requests found
/**
* 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() + '/');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment