feature(menu) Zip -> Pack

This commit is contained in:
coderaiser 2014-09-10 09:11:02 -04:00
parent 1965e31b11
commit 4f4d64a817
4 changed files with 8 additions and 8 deletions

View file

@ -204,8 +204,8 @@ Right mouse click button shows context menu with items:
- Edit
- Rename
- Delete
- Zip file
- Unzip file
- Pack
- Unpack
- Upload to (Dropbox, Github, GDrive, FilePicker)
- Download
- New (File, Dir, from FilePicker)

View file

@ -88,12 +88,12 @@
content : '\e812 ';
}
.icon-zip-file::before {
.icon-pack::before {
font-family : 'Fontello';
content : '\e813 ';
}
.icon-unzip-file::before {
.icon-unpack::before {
font-family : 'Fontello';
content : '\e814 ';
}

View file

@ -452,7 +452,7 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
* zip file
*
*/
this.zipFile = function() {
this.pack = function() {
var RESTful = DOM.RESTful,
name = Cmd.getCurrentName(),
dir = Cmd.getCurrentDirPath(),
@ -469,7 +469,7 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
* unzip file
*
*/
this.unzipFile = function() {
this.unpack = function() {
var RESTful = DOM.RESTful,
name = Cmd.getCurrentName(),
dir = Cmd.getCurrentDirPath(),

View file

@ -142,8 +142,8 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO;
setTimeout(DOM.renameCurrent, 100);
},
'Delete' : DOM.promptDelete,
'Zip file' : DOM.zipFile,
'Unzip file' : DOM.unzipFile,
'Pack' : DOM.pack,
'Unpack' : DOM.unpack,
'Upload To' : {},
'Download' : download,
'Cut' : Buffer.cut,