Project

General

Profile

« Previous | Next » 

Revision 9423ff32

Added by Jim Pingle over 8 years ago

Whitespace fixes. Ticket #7072

View differences:

src/usr/local/www/vpn_openvpn_server.php
1755 1755

  
1756 1756
		// If the cipher exists, remove it
1757 1757
		$('[id="ncp-ciphers[]"] option').each(function() {
1758
		    if($(this).val() == mem) {
1759
		    	$(this).remove();
1758
			if($(this).val() == mem) {
1759
				$(this).remove();
1760 1760
				found = true;
1761
		    }
1761
			}
1762 1762
		});
1763 1763

  
1764 1764
		// If not, add it
1765
	    if (!found) {
1765
		if (!found) {
1766 1766
			$('[id="ncp-ciphers[]"]').append(new Option(mem , mem));
1767
	    }
1767
		}
1768 1768

  
1769 1769
		// Unselect all options
1770 1770
		$('[id="availciphers[]"] option:selected').removeAttr("selected");

Also available in: Unified diff