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) {
100100 public function run (JsUtils $ js ) {
101101 if (! isset ($ this ->_bsComponent )) {
102102 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'); " );
104104 }
105105 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 );
107107 }
108108 }
109109 return parent ::run ($ js );
You can’t perform that action at this time.
0 commit comments