edit location field + saving location field

This commit is contained in:
Iam Naughton Phier 2014-08-06 14:19:30 +03:00
parent 4224cc3066
commit d1e2b9d1bf
4 changed files with 33 additions and 18 deletions

View file

@ -87,6 +87,7 @@ a html template, and a css file.
"file": "",
"name": "",
"amiga": true,
"filetype": 'plain',
"width": "",
"author": "",
"font": "Propaz",
@ -102,6 +103,7 @@ a html template, and a css file.
"css": ""
}
@empty = {
"location": "",
"slides": @emptyslidesdef,
"filedata": [ ]
}
@ -122,6 +124,8 @@ edit button.
edit: ->
$('#buttonbox').hide()
$('#dirlocation').change (event) =>
@.data.location = event.target.value
$('#listsave').button {icons: {primary:"ui-icon-disk"}}
.click =>
console.log dumpjson @.data