|
@@ -10,7 +10,6 @@ function ChangeName(option) {
|
|
|
this.url = option.url;
|
|
|
this.context = option.markControl.context;
|
|
|
this.userName = option.markControl.container.header.find('#mark-user-name');
|
|
|
-
|
|
|
this.popover = getDom(this.popover_dom, this.markControl);
|
|
|
this.popover.userNameInput = this.popover.find('input.username-input');
|
|
|
this.popover.passwordInput = this.popover.find('input.password-input');
|
|
@@ -81,7 +80,7 @@ function ChangeName(option) {
|
|
|
ChangeName.prototype.toggle = function(enable) {
|
|
|
if (enable == true) {
|
|
|
this.enable = true;
|
|
|
- this.popover.userNameInput.val('');
|
|
|
+ this.popover.userNameInput.val(this.userName.html());
|
|
|
this.popover.passwordInput.val('');
|
|
|
this.popover.userNameMessage.html('');
|
|
|
this.popover.password2Message.html('');
|