Fixed bug where save_notice_done setting wasn't saved

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1386 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Alexis Deveria
2010-02-12 20:56:53 +00:00
parent 6f50f5d55c
commit 673b945318

View File

@@ -178,7 +178,7 @@ function svg_edit_setup() {
var win = window.open("data:image/svg+xml;base64," + Utils.encode64(svg));
// Alert will only appear the first time saved OR the first time the bug is encountered
var done = $.pref('save_notice_done');
var done = $.pref('save_notice_done') + ""; // TODO: Find out why this returns an object in FF when online
if(done !== "all") {
var note = 'Select "Save As..." in your browser to save this image as an SVG file.';