Skip to content

Could it be more simple to chain alerts #5

@gclijing

Description

@gclijing

Currently, to chain alerts I use the following code :

    callback_confirm: function(){
          // display other modal
          setTimeout(function(){
            $.alert({
              title: "",
              body:"Vous réserver l'emplacement... Vous voulez réserver autre emplacements?",
              is_delayed: false,
              text_confirm: 'Finaliser et payer',
              text_decline: 'Réserver autre emplacement',
              callback_confirm: function(){
                window.location.href = "http://127.0.0.1:5000/payment/";
              },
            });
          },1000); 
        },

Could it be more simple to use ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions