owncloud/core — pull request #8612 by PVince81 (2014-05-16 10:47:31+00:00)
Title: Fixed issues with renaming

- summary is now untouched on rename instead of bogus incrementation
- fixes "Share" status icon by only triggring "fileActionsReady" once
- row is now reinserted even when rename is cancelled, this removes the
hacky/buggy code that tried to rename the element back
- added unit tests to cover the fixed cases

Test cases:
- [x] renaming file does not increase summary
- [x] cancel renaming does not increase summary
- [x] renaming a shared file as owner re-displays share icon correctly

Please review @schiesbn @icewind1991 @MorrisJobke