\
-\
-Download
\
-Download image (Follow link, then choose \"Save As\" on your browser)
\
-Preview
" + note +
-"\
-Markup
\
-\
-";
- window.open("data:text/html;charset=utf-8;base64," + Utils.encode64(htmlpage));
+ 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');
+ if(done !== "all") {
+
+ var note = 'Select "Save As..." in your browser to save this image as an SVG file.';
+
+ // Check if FF and has
+ if(navigator.userAgent.indexOf('Gecko/') !== -1) {
+ if(svg.indexOf('