Improve Confirmation Dialog

Some basic modifications to the Confirmation Dialog:
* Always attached to <body> regardless of view that called it.
* Always centered horizontally on screen.
* A black semi-transparent overlay is now displayed over everything, and under
  the dialog.
* Various other style changes.

fixes #389

// FREEBIE
This commit is contained in:
Sam Lanning 2016-01-23 16:00:07 +00:00 committed by lilia
parent 6fb190e4b5
commit c4a9ac94b4
4 changed files with 78 additions and 24 deletions

View file

@ -54,7 +54,7 @@
resolve: resolve,
reject: reject
});
this.$el.append(dialog.el);
this.$el.closest('body').append(dialog.el);
}.bind(this));
},
i18n_with_link: function(message, href){