Project

General

Profile

« Previous | Next » 

Revision 141d8913

Added by Jim Pingle over 9 years ago

Fix some Save button quirks. Ticket #5965

View differences:

src/usr/local/www/services_dhcp.php
242 242
	return true;
243 243
}
244 244

  
245
if (isset($_POST['submit'])) {
245
if (isset($_POST['save'])) {
246 246

  
247 247
	unset($input_errors);
248 248

  
......
616 616
	}
617 617
}
618 618

  
619
if ((isset($_POST['submit']) || isset($_POST['apply'])) && (!$input_errors)) {
619
if ((isset($_POST['save']) || isset($_POST['apply'])) && (!$input_errors)) {
620 620
	$retval = 0;
621 621
	$retvaldhcp = 0;
622 622
	$retvaldns = 0;
......
780 780

  
781 781
display_top_tabs($tab_array);
782 782

  
783
// This form uses a non-standard submit button name
784 783
$form = new Form();
785 784

  
786 785
$section = new Form_Section('General Options');

Also available in: Unified diff