edit location field + saving location field
This commit is contained in:
parent
4224cc3066
commit
d1e2b9d1bf
4 changed files with 33 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue