Webserver: Design-Bug with on the showProfilePage

This commit is contained in:
lukeIam committed 2013-12-13 17:43:21 +01:00
1 parent ff2087b1da
commit 6f9a3b0138
2 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -138,7 +138,7 @@
<option value="2">Hard</option>
</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**">
<br />
+4 -2
View File
@@ -145,7 +145,8 @@ function initPageLoadHandler() {
$('#playerDifficulty').prop('disabled', false);
$('#playerSaveButton').show().unbind("click");
$('#playerAvatar').unbind("click");
$('#playerPassword').prop('disabled', false).show();
$('#playerPassword').prop('disabled', false).parent().show();
$('#playerPasswordLabel').show();
$('#playerAvatar').click(function () {
if ($('#captureContainer').length > 0) {
@@ -176,7 +177,8 @@ function initPageLoadHandler() {
$('#playerDifficulty').prop('disabled', true);
$('#playerSaveButton').hide().unbind("click");
$('#playerAvatar').unbind("click");
$('#playerPassword').prop('disabled', true).hide();
$('#playerPassword').prop('disabled', true).parent().hide();
$('#playerPasswordLabel').hide();
}
}