edit location field + saving location field
This commit is contained in:
parent
4224cc3066
commit
d1e2b9d1bf
4 changed files with 33 additions and 18 deletions
|
|
@ -62,6 +62,7 @@
|
|||
"file": "",
|
||||
"name": "",
|
||||
"amiga": true,
|
||||
"filetype": 'plain',
|
||||
"width": "",
|
||||
"author": "",
|
||||
"font": "Propaz",
|
||||
|
|
@ -77,6 +78,7 @@
|
|||
"css": ""
|
||||
};
|
||||
this.empty = {
|
||||
"location": "",
|
||||
"slides": this.emptyslidesdef,
|
||||
"filedata": []
|
||||
};
|
||||
|
|
@ -97,6 +99,11 @@
|
|||
|
||||
Sahli.prototype.edit = function() {
|
||||
$('#buttonbox').hide();
|
||||
$('#dirlocation').change((function(_this) {
|
||||
return function(event) {
|
||||
return _this.data.location = event.target.value;
|
||||
};
|
||||
})(this));
|
||||
$('#listsave').button({
|
||||
icons: {
|
||||
primary: "ui-icon-disk"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue