[Pkg-owncloud-commits] [owncloud] 99/394: also set 'renaming' to false if renaming was aborted, this fixes issue #442

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:11:36 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.

commit b019a578948efc17c5ee2fd4ac616878ed926190
Author: Björn Schießle <schiessle at owncloud.com>
Date:   Thu Nov 15 14:11:01 2012 +0100

    also set 'renaming' to false if renaming was aborted, this fixes issue #442
---
 apps/files/js/filelist.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index a25f039..ed2db12 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -156,11 +156,11 @@ var FileList={
 							OC.dialogs.alert(result.data.message, 'Error moving file');
 							newname = name;
 						}
-						tr.data('renaming',false);
 					});
 					
 				}
 			}
+			tr.data('renaming',false);
 			tr.attr('data-file', newname);
 			var path = td.children('a.name').attr('href');
 			td.children('a.name').attr('href', path.replace(encodeURIComponent(name), encodeURIComponent(newname)));

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list