Mercurial > MadButterfly
comparison inkscape/firefox/content/main.js @ 389:45e04408fc19
Implement stub functions for the MadSwatter integration.
author | wycc |
---|---|
date | Sun, 12 Apr 2009 11:58:53 +0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
388:f3e6ac47752c | 389:45e04408fc19 |
---|---|
1 var last_select; | |
2 var wizard; | |
3 jQuery(document).ready(function() { | |
4 if (loadOldProject()) { | |
5 filedialog = jQuery('#filedialog'); | |
6 filedialog.dialog({width:500, | |
7 modal: true, | |
8 autoOpen:false, | |
9 title:'Please select a file'}); | |
10 filedialog.show(); | |
11 filedialog.html('Please select the project file<br>'); | |
12 filedialog.append('<input type=file value="Select the project file" id="mbsvg" accept="image/png">'); | |
13 filedialog.append('<input type=button value="Load" onclick="project_loadFile()">'); | |
14 filedialog.dialog("open"); | |
15 last_select = null; | |
16 wizard = new Wizard(); | |
17 wizard.cb = onLoadProject; | |
18 $('#filedialog').dialog({ width:500}); | |
19 $('#frame').draggable(); | |
20 $('#btns').draggable({cursor:'crosshair'}); | |
21 $('#list').tabs(); | |
22 $('#display').tabs(); | |
23 } | |
24 }); | |
25 |