$( '.apos-modal-blackout' ).on({
'click': function(e) {
e.stopImmediatePropagation();
}
});
--
You received this message because you are subscribed to the Google Groups "apostrophenow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apostropheno...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
$(function() {
_.each(apos.data.schemaWidgets, function(info) {
var superEditor = apos.widgetTypes[info.name].editor;
apos.widgetTypes[info.name].editor = function(options) {
var self = this;
superEditor.call(self, options);
self.beforeCancel = function(callback) {
if (confirm('Are you sure you want to discard your changes?')) {
return callback(null);
}
return callback('notconfirmed');
}
};
});
});