File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Ajax/semantic/html/collections Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,10 +100,10 @@ public function setDismissable($dismiss = true) {
100
100
public function run (JsUtils $ js ) {
101
101
if (! isset ($ this ->_bsComponent )) {
102
102
if (isset ($ this ->close )) {
103
- $ js ->execOn ("click " , "# " . $ this ->identifier . " .close " , "$(this).closest('.message').transition( {$ this ->_closeTransition }) " );
103
+ $ js ->execOn ("click " , "# " . $ this ->identifier . " .close " , "$(this).closest('.message').transition( {$ this ->_closeTransition }).trigger('close-message'); " );
104
104
}
105
105
if (isset ($ this ->_timeout )) {
106
- $ js ->exec ("setTimeout(function() { $('# {$ this ->identifier }').transition( {$ this ->_closeTransition }); }, {$ this ->_timeout }); " , true );
106
+ $ js ->exec ("setTimeout(function() { $('# {$ this ->identifier }').transition( {$ this ->_closeTransition }).trigger('close-message') ; }, {$ this ->_timeout }); " , true );
107
107
}
108
108
}
109
109
return parent ::run ($ js );
You can’t perform that action at this time.
0 commit comments