Commit 0266d0d6 authored by Oleg Korshul's avatar Oleg Korshul

onExternalMouseUp (plugin)

bug with select slide on open
parent 5c01125e
...@@ -491,6 +491,9 @@ ...@@ -491,6 +491,9 @@
} }
} }
} }
if (window.g_asc_plugins)
window.g_asc_plugins.onExternalMouseUp();
} }
InitCaptureEvents(); InitCaptureEvents();
......
...@@ -351,6 +351,16 @@ ...@@ -351,6 +351,16 @@
// re-init // re-init
this.init(); this.init();
} }
},
onExternalMouseUp : function()
{
if (!this.current)
return;
this.startData.setAttribute("type", "onExternalMouseUp");
this.correctData(this.startData);
this.sendMessage(this.startData);
} }
}; };
......
...@@ -3993,6 +3993,8 @@ function CThumbnailsManager() ...@@ -3993,6 +3993,8 @@ function CThumbnailsManager()
if (i >= this.m_arrPages.length) if (i >= this.m_arrPages.length)
{ {
this.m_arrPages[i] = new CThPage(); this.m_arrPages[i] = new CThPage();
if (0 == i)
this.m_arrPages[0].IsSelected = true;
} }
if (false === bIsFoundFirst) if (false === bIsFoundFirst)
......
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