|
|
@ -826,8 +826,9 @@ define([
|
|
|
|
if (!resolved.id) {
|
|
|
|
if (!resolved.id) {
|
|
|
|
var el = Env.user.userObject.find(resolved.path);
|
|
|
|
var el = Env.user.userObject.find(resolved.path);
|
|
|
|
if (Env.user.userObject.isSharedFolder(el) && Env.folders[el]) {
|
|
|
|
if (Env.user.userObject.isSharedFolder(el) && Env.folders[el]) {
|
|
|
|
|
|
|
|
var oldName = Env.folders[el].proxy.metadata.title;
|
|
|
|
Env.folders[el].proxy.metadata.title = data.newName;
|
|
|
|
Env.folders[el].proxy.metadata.title = data.newName;
|
|
|
|
Env.user.proxy[UserObject.SHARED_FOLDERS][el].lastTitle = data.value;
|
|
|
|
Env.user.proxy[UserObject.SHARED_FOLDERS][el].lastTitle = oldName;
|
|
|
|
return void cb();
|
|
|
|
return void cb();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|