Skip to content

Commit db08bc3

Browse files
author
Pierre Vanliefland
committed
Merge pull request #9 from jmsche/master
Allow links in modals to change location
2 parents 9848d6d + 37a8fcc commit db08bc3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Snowcap admin bundle
1+
Snowcap Bootstrap bundle
22
========================
33

4-
This projet is still a WIP. Don't even think about using it for something serious for the moment.
4+
This projet is still a WIP. Don't even think about using it for something serious for the moment.

Resources/public/js/snowcap-bootstrap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var SnowcapBootstrap = (function() {
99
events: function() {
1010
return {
1111
'submit form': 'submit',
12-
'click a:not([href=#])': 'clickLink',
12+
'click a:not([href=#],[data-bootstrap=modal-change-location])': 'clickLink',
1313
'click [data-bootstrap=modal-confirm]': 'confirm',
1414
'hidden': function() {
1515
this.$el.empty();
@@ -165,4 +165,4 @@ var SnowcapBootstrap = (function() {
165165

166166
SnowcapBootstrap.modalFactory();
167167

168-
})(jQuery);
168+
})(jQuery);

0 commit comments

Comments
 (0)