Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
eaa27f05
Commit
eaa27f05
authored
May 20, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE] Отладка отображения диалога с фильтрами.
parent
767ae2be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
apps/spreadsheeteditor/main/app/controller/DocumentHolder.js
apps/spreadsheeteditor/main/app/controller/DocumentHolder.js
+7
-0
No files found.
apps/spreadsheeteditor/main/app/controller/DocumentHolder.js
View file @
eaa27f05
...
@@ -989,6 +989,13 @@ define([
...
@@ -989,6 +989,13 @@ define([
var
offset
=
me
.
documentHolder
.
cmpEl
.
offset
(),
var
offset
=
me
.
documentHolder
.
cmpEl
.
offset
(),
x
=
config
.
asc_getCellPosX
()
+
offset
.
left
,
x
=
config
.
asc_getCellPosX
()
+
offset
.
left
,
y
=
config
.
asc_getCellPosY
()
+
offset
.
top
;
y
=
config
.
asc_getCellPosY
()
+
offset
.
top
;
var
doc
=
$
(
document
),
docwidth
=
doc
.
width
(),
docheight
=
doc
.
height
();
if
(
x
+
me
.
dlgFilter
.
options
.
width
>
docwidth
)
x
=
docwidth
-
me
.
dlgFilter
.
options
.
width
-
5
;
if
(
y
+
me
.
dlgFilter
.
options
.
height
>
docheight
)
y
=
docheight
-
me
.
dlgFilter
.
options
.
height
-
5
;
me
.
dlgFilter
.
show
(
x
,
y
);
me
.
dlgFilter
.
show
(
x
,
y
);
}
}
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment