Blogs

Comments (0) ‘, ‘info’); this.disable(form, true); dojo.xhrPost({ url: form.action, form: form, handleAs: ‘json-comment-optional’, load: function (data, ioArgs) { WeblogEntryActionForms.clearMessage(form.name+ ‘_messages’); if(data.success) { WeblogEntryActionForms.close(form); var gm = dojo.byId(‘actionforms_globalmsgs’); gm.style.display=’none’; lconn.blogs.utils.clearMessage(gm.id); var t=WeblogEntryActionForms.type(form); var msgText; if(t==’notification’ || t==’notification_ex’) { msgText = ‘The notification has been sent.’; } if(t==’flagInappropriateEntry’) { msgText= ‘The blog entry has been flagged and submitted for review.’; } if(t==’deleteEntry’) { msgText= ‘The blog entry has been deleted.’; } lconn.blogs.utils.showMessage(gm.id, msgText, ‘confirm’, true); gm.style.display=”; } else { if(data.error) { if(‘session timeout’ == data.error) { window.__security_nonce = data.nonce; WeblogEntryActionForms.message(form, ‘We were unable to process your request due to a session timeout. Please try again.’, ‘error’); } else { WeblogEntryActionForms.message(form, data.error, ‘error’); } } else { WeblogEntryActionForms.message(form, ‘This function is only available to authenticated users. Please log in first.’, ‘error’); } }…


Link to Full Article: Blogs

Pin It on Pinterest

Share This

Join Our Newsletter

Sign up to our mailing list to receive the latest news and updates about homeAI.info and the Informed.AI Network of AI related websites which includes Events.AI, Neurons.AI, Awards.AI, and Vocation.AI

You have Successfully Subscribed!