feature request: error management composer save template

Posted in: Newspaper
Post count: 40

Hy

There is one thing that is annoying is when using composer, when I click save, if for any reason the request got lost in the cyberspace or that the ISP is messing with you, then we stay with this “loading” animation that doesn’t allow a retry.

Guy, this theme is gr8, but one thing is lacking is error management.

And being there would be nice that the “preview” button did actually wait for save to happen before opening the new tab… callback?… someone tried to translate php to js?… usually someone will have to rewrite it in js
It’s a bit like my english… when in France, with french people, my english doesn’t sound so bad 😉

Thanks

info that might help:

I didn’t go look into the composer to see what techno was used, but there is a very simple way to deal with promise/error management

$.when( $.ajax( "test.aspx" ) )
.then( function ( data, textStatus, jqXHR ) {
alert( jqXHR.status ); // Alerts 200
})
.catch( e => {
// toast message
})
.done( function () {
// release button
})
})

https://api.jquery.com/jquery.when/

  • This topic was modified 6 years by cantoute. Reason: typo
  • This topic was modified 6 years by cantoute. Reason: added $.when().then() example
Post count: 35449

Hello,

Our developers are continue working to make our theme better and all suggestion for improved are well welcome.
Also if you have problems with tagDiv Composer, please make sure that you do not have a plugin conflict with untested plugins, please deactivate all plugins and child theme ( if you are using ) and let only the tagDiv Composer , clear all cache, deactivate the cache plugin and try again.
Please check this article about when tagDiv Composer is not working -> https://forum.tagdiv.com/tagdiv-composer-not-working/

Thank you for your suggestion!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.