smc
This commit is contained in:
14
smc/includes/appsnscripts.php
Normal file
14
smc/includes/appsnscripts.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
echo ' <script> ' . "\n";
|
||||
echo '$(document).ready(function () {' . "\n";
|
||||
echo ' $(\'#flash-msg\').delay(3000).fadeOut(\'slow\');' . "\n";
|
||||
echo '});' . "\n";
|
||||
echo ' </script>' . "\n";
|
||||
echo ' <script>' . "\n";
|
||||
echo '$(\'#confirm-delete\').on(\'show.bs.modal\', function(e) {' . "\n";
|
||||
echo ' $(this).find(\'.btn-ok\').attr(\'href\', $(e.relatedTarget).data(\'href\'));' . "\n";
|
||||
echo '});' . "\n";
|
||||
echo ' </script>' . "\n";
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user