Explorar el Código

Merge remote-tracking branch 'refs/remotes/OpenGamePanel/master'

Adjokip hace 9 años
padre
commit
c74394e23f
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. 2 3
      modules/util/util.php

+ 2 - 3
modules/util/util.php

@@ -310,7 +310,6 @@ function exec_ogp_module()
 			var gamePort = $("#gameserver_port").val();
 			var addSteamid = $("#addSteamid").val();
 			var immunity = $("#immunity").val();
-			var permissionType = $("#sourcemod_perms").val();
 			
 			// Set the message divs back to defaults.
 			$("#invalid_server").removeClass('show').addClass('hide');
@@ -337,7 +336,7 @@ function exec_ogp_module()
 			if(errors === 0){
 				$.post("/modules/util/addadmin_helper.php", $("#addadmin_form").serialize(), function(postCommand){
 					$("#addadmin_response").removeClass('hide').addClass('show').html(postCommand);
-					//$("#addadmin_form button").prop({disabled:false});
+					$("#addadmin_form button").prop({disabled:false});
 				}).fail(function(){
 					$("#invalid_response_admin").removeClass('hide').addClass('show');
 					$("#addadmin_form button").prop({disabled:false});
@@ -388,4 +387,4 @@ function exec_ogp_module()
 </script>
 <?php
 }
-?>
+?>