Subversion Repositories My Stuff

Compare Revisions

Ignore whitespace Rev 13 → Rev 15

/trunk/JavaScripts/dialog_email_form_open.js
8,7 → 8,6
# The full version of the licencse can be obtainted by visiting:
# http://www.gnu.org/licenses/gpl.html
#######################################################################*/
$.fx.speeds._default = 1000;
$(document).ready(function() {
$('a.email_link').each(function() {
var $link = $(this);
19,7 → 18,8
height: 'auto',
title: $link.attr('title'),
resizable: false,
modal: true,
modal: true,
position: 'center',
show: 'blind',
hide: 'explode'
});
30,7 → 30,7
var options = {
target: '#email_form',
success: function() {
$('#email_form > #form-idicator').hide();
$('#email_form > #form-idicator').hide();
$('#email_form > form').ajaxForm(options);
},
beforeSubmit: function() {
39,8 → 39,8
};
$dialog.load($link.attr('href'),function(){
$('#email_form > form').ajaxForm(options);
$('#ajax-indicator').hide();
$('#overlay').hide();
$('#ajax-indicator').hide();
$('#overlay').hide();
$dialog.dialog('open');
});
return false;