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
f17a9dac
Commit
f17a9dac
authored
Feb 10, 2017
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE] Debug special paste.
parent
67f37512
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
apps/spreadsheeteditor/main/app/controller/DocumentHolder.js
apps/spreadsheeteditor/main/app/controller/DocumentHolder.js
+8
-2
apps/spreadsheeteditor/main/resources/less/toolbar.less
apps/spreadsheeteditor/main/resources/less/toolbar.less
+1
-1
No files found.
apps/spreadsheeteditor/main/app/controller/DocumentHolder.js
View file @
f17a9dac
...
...
@@ -1651,14 +1651,18 @@ define([
var
mnu
=
new
Common
.
UI
.
MenuItem
({
caption
:
me
.
_arrSpecialPaste
[
menuItem
],
value
:
menuItem
value
:
menuItem
,
checkable
:
true
,
toggleGroup
:
'
specialPasteGroup
'
}).
on
(
'
click
'
,
function
(
item
,
e
)
{
var
props
=
new
Asc
.
SpecialPasteProps
();
props
.
asc_setProps
(
item
.
value
);
me
.
api
.
asc_SpecialPaste
(
props
);
setTimeout
(
function
(){
menu
.
hide
();},
100
);
});
menu
.
addItem
(
mnu
);
});
(
menu
.
items
.
length
>
0
)
&&
menu
.
items
[
0
].
setChecked
(
true
,
true
);
Common
.
UI
.
Menu
.
Manager
.
hideAll
();
...
...
@@ -1667,7 +1671,9 @@ define([
},
onHideSpecialPasteOptions
:
function
()
{
this
.
documentHolder
.
cmpEl
.
find
(
'
#special-paste-container
'
).
hide
();
var
pasteContainer
=
this
.
documentHolder
.
cmpEl
.
find
(
'
#special-paste-container
'
);
if
(
pasteContainer
.
is
(
'
:visible
'
))
pasteContainer
.
hide
();
},
onCellsRange
:
function
(
status
)
{
...
...
apps/spreadsheeteditor/main/resources/less/toolbar.less
View file @
f17a9dac
...
...
@@ -261,7 +261,7 @@
#special-paste-container {
position: absolute;
z-index: 100
00
;
z-index: 100;
background-color: @gray-light;
border: 1px solid @gray;
}
\ No newline at end of file
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