Webserver: Design-Bug with on the showProfilePage
This commit is contained in:
1 parent
ff2087b1da
commit
6f9a3b0138
2 files changed
+5
-3
No files matched your search
@@ -138,7 +138,7 @@
|
|||||||
<option value="2">Hard</option>
|
<option value="2">Hard</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<label for="playerPassword" class="input">New Password:</label>
|
<label id="playerPasswordLabel" for="playerPassword" class="input">New Password:</label>
|
||||||
<input type="password" id="playerPassword" name="playerPassword" data-mini="true" value="**oldPassword**">
|
<input type="password" id="playerPassword" name="playerPassword" data-mini="true" value="**oldPassword**">
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|||||||
@@ -145,7 +145,8 @@ function initPageLoadHandler() {
|
|||||||
$('#playerDifficulty').prop('disabled', false);
|
$('#playerDifficulty').prop('disabled', false);
|
||||||
$('#playerSaveButton').show().unbind("click");
|
$('#playerSaveButton').show().unbind("click");
|
||||||
$('#playerAvatar').unbind("click");
|
$('#playerAvatar').unbind("click");
|
||||||
$('#playerPassword').prop('disabled', false).show();
|
$('#playerPassword').prop('disabled', false).parent().show();
|
||||||
|
$('#playerPasswordLabel').show();
|
||||||
|
|
||||||
$('#playerAvatar').click(function () {
|
$('#playerAvatar').click(function () {
|
||||||
if ($('#captureContainer').length > 0) {
|
if ($('#captureContainer').length > 0) {
|
||||||
@@ -176,7 +177,8 @@ function initPageLoadHandler() {
|
|||||||
$('#playerDifficulty').prop('disabled', true);
|
$('#playerDifficulty').prop('disabled', true);
|
||||||
$('#playerSaveButton').hide().unbind("click");
|
$('#playerSaveButton').hide().unbind("click");
|
||||||
$('#playerAvatar').unbind("click");
|
$('#playerAvatar').unbind("click");
|
||||||
$('#playerPassword').prop('disabled', true).hide();
|
$('#playerPassword').prop('disabled', true).parent().hide();
|
||||||
|
$('#playerPasswordLabel').hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user