plugins/nuggie/client/usercp.js
changeset 12 f0ddbf48c978
parent 5 172544257e2c
equal deleted inserted replaced
11:059a5a8566fc 12:f0ddbf48c978
    14 {
    14 {
    15   if ( !confirm('Are you sure you want to permanently delete this blog post?') )
    15   if ( !confirm('Are you sure you want to permanently delete this blog post?') )
    16     return false;
    16     return false;
    17   
    17   
    18   _global_ng_row = row;
    18   _global_ng_row = row;
       
    19   
       
    20   if ( typeof(load_component) == 'function' )
       
    21     load_component('SpryEffects');
    19   
    22   
    20   try
    23   try
    21   {
    24   {
    22     ajaxPost(makeUrlNS('Special', 'Preferences/Blog/Posts/AjaxHandler'), 'act=delete&post_id=' + id, function()
    25     ajaxPost(makeUrlNS('Special', 'Preferences/Blog/Posts/AjaxHandler'), 'act=delete&post_id=' + id, function()
    23       {
    26       {