From 673b945318cff047be8754517afd5739d4eeb5a1 Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Fri, 12 Feb 2010 20:56:53 +0000 Subject: [PATCH] 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 --- editor/svg-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 1facc531..5f7c739a 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -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.';