CodeSeven/toastr — pull request #173 by JakeKalstad (2014-08-11 03:36:23+00:00)
Title: Dialog Toastr

This patch would give the ability for a dialog box with similar appearance to the existing 'info toast' with the addition of an ok and cancel button where an ok callback can be defined.

toastr.dialog("Would you like to make this your default?", "Default Location?", function() {
// goDoSomethingFantasticOnOkClick();
});

The styling is something rough to get it presentable but leaves something to be desired.
Does not break any existing dialog functionality, all tests passed.

Cheers, Jake.