Commit 24327261 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Обработка mouse down (для выбора значений)

Смена цвета выбора.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55424 954022d7-b5bf-4e40-9824-e11837661b57
parent 58e102f4
......@@ -162,4 +162,5 @@
}
#apiPopUpList li.selected {
background-color: #7d858c;
color: #fff;
}
\ No newline at end of file
......@@ -51,6 +51,11 @@
this.fMouseDblClick = function (event) {t._onMouseDblClick(event);};
this.fMouseOver = function (event) {t._onMouseOver(event);};
if (this.selector.addEventListener) {
this.selector.addEventListener("mousedown", function () {
t.skipClose = true;
}, false);
}
if (window.addEventListener) {
window.addEventListener("mousedown", function () {
if (t.skipClose) {
......
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