Skip to content

Commit

Permalink
fixed an issue with the change password popup (enterprise mode / loca…
Browse files Browse the repository at this point in the history
…l admin), which wasn't displayed correctly

updated the myrtille project url
  • Loading branch information
cedrozor committed Sep 24, 2020
1 parent 47c9795 commit 3b393e2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
2020-09-20 Version 2.9.0 (stable)
2020-09-24 Version 2.9.0 (stable)
added a virtual on-screen keyboard (multi-languages)
popups are now draggable
showing the toolbar no longer shifts the display down
Expand All @@ -16,6 +16,8 @@
fixed an issue with messages containing the ";" character
fixed an issue with file transfer when using a domain (thanks camjcorley)
fixed an issue with the tab key in SSH mode (this also fixes shell autocompletion)
fixed an issue with the change password popup (enterprise mode / local admin), which wasn't displayed correctly
updated the myrtille project url
refactoring

2020-04-20 Version 2.8.1 (stable)
Expand Down
2 changes: 1 addition & 1 deletion Myrtille.Setup/Myrtille.Setup.vdproj
Original file line number Diff line number Diff line change
Expand Up @@ -2960,7 +2960,7 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:Myrtille"
"ProductCode" = "8:{DE4FFD9F-65D4-418B-9A3F-9A6CBAB10BF8}"
"ProductCode" = "8:{4665580A-61A2-4B7C-98FF-9E44C9012104}"
"PackageCode" = "8:{3F82D8DB-CDDC-4128-BF9F-03BFB5255C41}"
"UpgradeCode" = "8:{86A6145E-11DB-4EE7-9CE0-53F997050716}"
"AspNetVersion" = "8:4.0.30319.0"
Expand Down
2 changes: 1 addition & 1 deletion Myrtille.Web/Default.aspx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@

<!-- myrtille version -->
<div id="version">
<a href="http://cedrozor.github.io/myrtille/" target="_blank" title="myrtille">
<a href="https://www.myrtille.io/" target="_blank" title="myrtille">
<img src="img/myrtille.png" alt="myrtille" width="15px" height="15px"/>
</a>
<span>
Expand Down
2 changes: 1 addition & 1 deletion Myrtille.Web/Default.aspx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ private void CreateEnterpriseSessionFromLogin()
}
else if (_enterpriseSession.AuthenticationErrorCode == EnterpriseAuthenticationErrorCode.PASSWORD_EXPIRED)
{
ClientScript.RegisterClientScriptBlock(GetType(), Guid.NewGuid().ToString(), string.Format("openPopup('changePasswordPopup', 'EnterpriseChangePassword.aspx?userName={0}" + (_localAdmin ? "&mode=admin');" : "');"), user.Value), true);
ClientScript.RegisterClientScriptBlock(GetType(), Guid.NewGuid().ToString(), "window.onload = function() { " + string.Format("openPopup('changePasswordPopup', 'EnterpriseChangePassword.aspx?userName={0}" + (_localAdmin ? "&mode=admin" : string.Empty) + "');", user.Value) + " }", true);
}
else
{
Expand Down
4 changes: 2 additions & 2 deletions Myrtille.Web/js/dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ function openPopup(id, src, fade)
}
catch (exc)
{
this.showDebug('openPopup error: ' + exc.message);
console.error('openPopup error: ' + exc.message);
}
}

Expand Down Expand Up @@ -511,7 +511,7 @@ function closePopup()
}
catch (exc)
{
this.showDebug('closePopup error: ' + exc.message);
console.error('closePopup error: ' + exc.message);
}
}

Expand Down

0 comments on commit 3b393e2

Please sign in to comment.