return false;
}
- jQuery('<a />').
- attr(
- 'href',
- ScriptURI + '?' + '__mode=pluginmanager&' +
- 'op=ftp_prompt&blog_id=0&id=' + this.id
- ).
- insertAfter('#footer').
- mtDialog().
- trigger('click');
+ jQuery.fn.mtDialog.open(
+ ScriptURI + '?' + '__mode=pluginmanager&' +
+ 'op=ftp_prompt&blog_id=0&id=' + this.id
+ );
}).
bind('process', function(ev, ftp_pass) {
$(this.form).find('input[name="ftp_password"]').val(ftp_pass);
return false;
}
- jQuery('<a />').
- attr(
- 'href',
- ScriptURI + '?' + '__mode=pluginmanager&' +
- 'op=ftp_prompt&blog_id=0&id=' + this.id
- ).
- insertAfter('#footer').
- mtDialog().
- trigger('click');
+ jQuery.fn.mtDialog.open(
+ ScriptURI + '?' + '__mode=pluginmanager&' +
+ 'op=ftp_prompt&blog_id=0&id=' + this.id
+ );
}).
bind('process', function(ev, ftp_pass) {
var command = this.id;