Skip to content
Snippets Groups Projects
Commit aafd0106 authored by Josef Moravec's avatar Josef Moravec Committed by Robert Lange
Browse files

Remove event attributes from install script.

parent a52629f2
No related merge requests found
...@@ -16,8 +16,17 @@ ...@@ -16,8 +16,17 @@
<?=$this->flashmessages()?> <?=$this->flashmessages()?>
<p>Save this SQL somewhere safe:</p> <p>Save this SQL somewhere safe:</p>
<textarea class="pre" rows="20" readonly onClick="this.select()"><?=trim($this->sql) ?></textarea> <textarea class="pre" rows="20" readonly id="sql_text"><?=trim($this->sql) ?></textarea>
<form method="post" action="<?=$this->url('install-showsql')?>"> <form method="post" action="<?=$this->url('install-showsql')?>">
<input type="submit" name="continue" value="Next" class="btn btn-primary"/> <input type="submit" name="continue" value="Next" class="btn btn-primary"/>
</form> </form>
<?php
$script = <<<JS
$('#sql_text').click(function(e) {
this.select();
});
JS;
?>
<?=$this->inlineScript(\Laminas\View\Helper\HeadScript::SCRIPT, $script, 'SET');
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment