fixed indentation and removed two unneeded local vars
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2432 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
570c59ebf2
commit
d809578c6c
|
@ -538,7 +538,6 @@
|
||||||
$('#dialog_container').draggable({cancel: '#dialog_content, #dialog_buttons *', containment: 'window'});
|
$('#dialog_container').draggable({cancel: '#dialog_content, #dialog_buttons *', containment: 'window'});
|
||||||
var box = $('#dialog_box'),
|
var box = $('#dialog_box'),
|
||||||
btn_holder = $('#dialog_buttons'),
|
btn_holder = $('#dialog_buttons'),
|
||||||
|
|
||||||
dbox = function(type, msg, callback, defText) {
|
dbox = function(type, msg, callback, defText) {
|
||||||
$('#dialog_content').html('<p>'+msg.replace(/\n/g, '</p><p>')+'</p>')
|
$('#dialog_content').html('<p>'+msg.replace(/\n/g, '</p><p>')+'</p>')
|
||||||
.toggleClass('prompt', (type == 'prompt'));
|
.toggleClass('prompt', (type == 'prompt'));
|
||||||
|
@ -2200,7 +2199,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
Editor.addDropDown('#font_family_dropdown', function() {
|
Editor.addDropDown('#font_family_dropdown', function() {
|
||||||
var fam = $(this).text();
|
|
||||||
$('#font_family').val($(this).text()).change();
|
$('#font_family').val($(this).text()).change();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -3281,10 +3279,9 @@
|
||||||
paint = new $.jGraduate.Paint(p);
|
paint = new $.jGraduate.Paint(p);
|
||||||
paintBox[picker].setPaint(paint);
|
paintBox[picker].setPaint(paint);
|
||||||
svgCanvas.setPaint(picker, paint);
|
svgCanvas.setPaint(picker, paint);
|
||||||
|
|
||||||
$('#color_picker').hide();
|
$('#color_picker').hide();
|
||||||
},
|
},
|
||||||
function(p) {
|
function() {
|
||||||
$('#color_picker').hide();
|
$('#color_picker').hide();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue