Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC:

FORMS within MODAL windows 17 May 2015 09:59 #13007

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Hi vlemos,

I have checked and tried to find a solution for that, but there isn't any possibility.

I explain :
The modal box (SqueezeBox), is calling an event before to close, but it is not possible to block the process and wait AJAX response before to effectively close the modal. So when you click outside of the modal, or on the cross, it is impossible to call cancel() through AJAX, and the item will remains checked in.

It is really sad, but I counln't find any workaround. I mean, I could call this cancel AJAX task in the event, but because the modal closes, the AJAX is cancelled. And also cannot read the result of cance().

The only possible way (dirty), is to call this cancel task from the parent list and make some JS wierd code to get the item ID + the controller and so if the modal box closes, the call will not be cancelled. But again, the modal will close whatever the cancel() task was a success or not.

This is impossible to achieve with SqueezeBox. You might use another modal box system, of hack it.

Closed ticket.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.068 seconds
Je suis vraiment impressionné par la puissance de COOK et encore plus admiratif de ton travail. A ce jour je crois que c'est ce que j'ai vu de plus abouti dans le domaine de la conception d'extension pour Joomla!
felichon (Forum)  

Get Started