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.054 seconds

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started