ttajic
6/1/2016 - 7:04 AM

SetNotification with Notify.js (download https://notifyjs.codeplex.com/) you can do mini-dialogs with Notify.js

SetNotification with Notify.js (download https://notifyjs.codeplex.com/) you can do mini-dialogs with Notify.js

Notify.add("Would you like to create a new <b>Sale</b>?", "QUESTION", "sale",
    [{
        type: "button", //can only be button or link
        text: "Create Sale",
        callback: function () {
            Notify.add("Sale created successfully!", "SUCCESS", "sale", null, 3);
        }
    },
    {
        type: "link",
        text: "Not now",
        callback: function () {
            Notify.remove("sale");
        }
    }]);