vendor/assets/javascripts/bootstrap-modal.js in bootstrap-modal-rails-2.2.0 vs vendor/assets/javascripts/bootstrap-modal.js in bootstrap-modal-rails-2.2.4
- old
+ new
@@ -1,7 +1,7 @@
/* ===========================================================
- * bootstrap-modal.js v2.2.0
+ * bootstrap-modal.js v2.2.4
* ===========================================================
* Copyright 2012 Jordan Schroter
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -313,10 +313,11 @@
this.$element.off('.modal');
this.$element.removeData('modal');
this.$element
.removeClass('in')
- .attr('aria-hidden', true);
+ .attr('aria-hidden', true)
+ .trigger('destroyed');
}
};
/* MODAL PLUGIN DEFINITION