mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fixed bug with getting back to directory where file was removed
This commit is contained in:
parent
4cb12ee8a9
commit
128bf64e00
3 changed files with 13 additions and 2 deletions
|
|
@ -87,7 +87,11 @@ is pressed and current file is directory.
|
|||
|
||||
* Fixed header of api fs GET.
|
||||
|
||||
* Fixed bug with sending response on query other then json on /fs url.
|
||||
* Fixed bug with sending response on
|
||||
query other then json on /fs url.
|
||||
|
||||
* Fixed bug with getting back to
|
||||
directory where file was removed.
|
||||
|
||||
|
||||
2012.03.01, v0.1.9
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
- Стиль выделения в Опере.
|
||||
- Заголовок выдачи REST-фукнции fs метода GET.
|
||||
- Отправка данных в ответ на запрос отличный от ?json в пути /url.
|
||||
- Возвращение в папку, из которой был удален файл.
|
||||
|
||||
**Обновлены:**
|
||||
- jquery до версии v2.0.0
|
||||
|
|
|
|||
|
|
@ -496,9 +496,15 @@ var CloudCommander, Util, DOM = {}, CloudFunc;
|
|||
if(lCurrent || lSelected)
|
||||
DOM.RESTfull.delete(lUrl, lSelected, function(){
|
||||
if(n > 1)
|
||||
DOM.deleteSelected(lFiles);
|
||||
DOM.deleteSelected(lFiles);
|
||||
else
|
||||
DOM.deleteCurrent(lCurrent);
|
||||
|
||||
var lDir = CloudFunc.removeLastSlash(
|
||||
DOM.getCurrentDirPath()
|
||||
);
|
||||
|
||||
DOM.Cache.remove(lDir);
|
||||
}, lQuery);
|
||||
|
||||
return lCurrent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue