diff options
Diffstat (limited to 'core/js/oc-dialogs.js')
-rw-r--r-- | core/js/oc-dialogs.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index 8f127bfb62b..43b698df68f 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -196,10 +196,8 @@ var OCdialogs = { self.$filePicker.ready(function() { self.$filelist = self.$filePicker.find('.filelist'); - self.$dirUp = self.$filePicker.find('.dirup'); self.$dirTree = self.$filePicker.find('.dirtree'); self.$dirTree.on('click', 'span:not(:last-child)', self, self.handleTreeListSelect); - self.$dirUp.click(self, self.filepickerDirUp); self.$filelist.on('click', 'li', function(event) { self.handlePickerClick(event, $(this)); }); @@ -418,18 +416,6 @@ var OCdialogs = { self.fillFilePicker(dir); }, /** - * go one directory up - */ - filepickerDirUp:function(event) { - var self = event.data; - var old_path = self.$filePicker.data('path'); - if (old_path !== '') { - var splitted_path = old_path.split('/'); - splitted_path.pop(); - self.fillFilePicker(splitted_path.join('/')); - } - }, - /** * handle clicks made in the filepicker */ handlePickerClick:function(event, $element) { |