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

@ -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"