Added ability to set title for image (issue 125). Also: use native base64 encoder if found when encoding

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@843 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Alexis Deveria
2009-10-19 19:06:07 +00:00
parent e667d63ac8
commit df8c220714
4 changed files with 48 additions and 4 deletions

View File

@@ -806,6 +806,7 @@ function svg_edit_setup() {
var res = svgCanvas.getResolution();
$('#canvas_width').val(res.w);
$('#canvas_height').val(res.h);
$('#canvas_title').val(svgCanvas.getImageTitle())
$('#svg_docprops').fadeIn();
};
@@ -831,6 +832,9 @@ function svg_edit_setup() {
};
var saveDocProperties = function(){
// set title
svgCanvas.setImageTitle($('#canvas_title').val());
// update resolution
var x = parseInt($('#canvas_width').val());
var y = parseInt($('#canvas_height').val());