Commit e12d9e31 authored by François Jacquet's avatar François Jacquet

Prompt() make Cancel primary button

parent dd80fb52
......@@ -9,6 +9,7 @@ Changes in 6.8
- Fix SQL error multiple rows returned by subquery in CreateParents.php
- Fix #291 XSS Use URLEscape() for links href, program wide
- Fix hide remove button for "No Address" in Address.inc.php
- Prompt() make Cancel primary button in Prompts.php
Changes in 6.7.2
----------------
......
......@@ -96,8 +96,8 @@ function Prompt( $title = 'Confirm', $question = '', $message = '' )
<form action="' . $PHP_tmp_SELF . '" method="POST">' .
$message .
'<div class="center"><br />' .
SubmitButton( _( 'OK' ), 'delete_ok' ) .
'<input type="button" name="delete_cancel" value="' . _( 'Cancel' ) . '" onclick="javascript:self.history.go(-1);">
SubmitButton( _( 'OK' ), 'delete_ok', '' ) .
'<input type="button" name="delete_cancel" class="button-primary" value="' . _( 'Cancel' ) . '" onclick="javascript:self.history.go(-1);">
</div>
</form><br />';
......
Markdown is supported
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