]> source.dussan.org Git - nextcloud-server.git/commitdiff
Do reload shared views 4293/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Tue, 11 Apr 2017 07:33:27 +0000 (09:33 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Tue, 11 Apr 2017 07:33:27 +0000 (09:33 +0200)
Fixes #4248

The magic introduced in #3686 caused the shared views not to be updated
properly. Thus we just overwrite the _onUrlChange method in the
sharedfilelist.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
apps/files_sharing/js/sharedfilelist.js

index dccd6027b02d65eaafcbe4308a2cd63788bf0299..326bd1b5bf86e978b3273580c940b6043d6e65b2 100644 (file)
 
                        // Sort by expected sort comparator
                        return files.sort(this._sortComparator);
+               },
+
+               _onUrlChanged: function(e) {
+                       if (e && _.isString(e.dir)) {
+                               this.changeDirectory(e.dir, false, true);
+                       }
                }
        });