mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
take out javascript from html (Closes #253)
This commit is contained in:
parent
f985d636b6
commit
2c297b5e1c
|
@ -382,6 +382,9 @@ $(document).ready( function() {
|
|||
});
|
||||
});
|
||||
|
||||
$('button.history-back').on('click', function(event) {
|
||||
window.history.back();
|
||||
});
|
||||
});
|
||||
|
||||
function onAddClipboard(ev) { /* {{{ */
|
||||
|
|
|
@ -1195,7 +1195,7 @@ $('#clearfilename<?php print $formName ?>').click(function(ev) {
|
|||
print "<h4>".getMLText('error')."!</h4>";
|
||||
print htmlspecialchars($error);
|
||||
print "</div>";
|
||||
print "<div><button class=\"btn\" onclick=\"window.history.back();\">".getMLText('back')."</button></div>";
|
||||
print "<div><button class=\"btn history-back\">".getMLText('back')."</button></div>";
|
||||
|
||||
$this->contentEnd();
|
||||
$this->htmlEndPage();
|
||||
|
|
Loading…
Reference in New Issue
Block a user