Commit 5e1320ca authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

горена кнопка save, если вернуться к началу

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@67501 954022d7-b5bf-4e40-9824-e11837661b57
parent 6c2e4c2b
...@@ -102,8 +102,6 @@ CHistory.prototype.Reset_SavedIndex = function(IsUserSave) ...@@ -102,8 +102,6 @@ CHistory.prototype.Reset_SavedIndex = function(IsUserSave)
{ {
if (true === this.Is_UserSaveMode()) if (true === this.Is_UserSaveMode())
{ {
if (this.Index == -1)
return;
this.SavedIndex = this.Index; this.SavedIndex = this.Index;
if (true === IsUserSave) if (true === IsUserSave)
{ {
......
...@@ -46,8 +46,6 @@ CHistory.prototype.Reset_SavedIndex = function(IsUserSave) ...@@ -46,8 +46,6 @@ CHistory.prototype.Reset_SavedIndex = function(IsUserSave)
{ {
if (true === this.Is_UserSaveMode()) if (true === this.Is_UserSaveMode())
{ {
if (this.Index == -1)
return;
this.SavedIndex = this.Index; this.SavedIndex = this.Index;
if (true === IsUserSave) if (true === IsUserSave)
{ {
......
...@@ -62,8 +62,6 @@ CHistory.prototype.Reset_SavedIndex = function(IsUserSave) ...@@ -62,8 +62,6 @@ CHistory.prototype.Reset_SavedIndex = function(IsUserSave)
{ {
if (true === this.Is_UserSaveMode()) if (true === this.Is_UserSaveMode())
{ {
if (this.Index == -1)
return;
this.SavedIndex = this.Index; this.SavedIndex = this.Index;
if (true === IsUserSave) if (true === IsUserSave)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment