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
d606ce75
Commit
d606ce75
authored
Mar 15, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE] Bug 31934.
parent
8d6e3240
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
apps/spreadsheeteditor/main/app/view/NamedRangePasteDlg.js
apps/spreadsheeteditor/main/app/view/NamedRangePasteDlg.js
+10
-2
No files found.
apps/spreadsheeteditor/main/app/view/NamedRangePasteDlg.js
View file @
d606ce75
...
@@ -80,6 +80,7 @@ define([
...
@@ -80,6 +80,7 @@ define([
return
(
n1
<
n2
)
?
-
1
:
1
;
return
(
n1
<
n2
)
?
-
1
:
1
;
};
};
this
.
rangeList
.
on
(
'
item:dblclick
'
,
_
.
bind
(
this
.
onDblClickFunction
,
this
));
this
.
rangeList
.
on
(
'
item:dblclick
'
,
_
.
bind
(
this
.
onDblClickFunction
,
this
));
this
.
rangeList
.
on
(
'
entervalue
'
,
_
.
bind
(
this
.
onPrimary
,
this
));
this
.
afterRender
();
this
.
afterRender
();
},
},
...
@@ -90,7 +91,7 @@ define([
...
@@ -90,7 +91,7 @@ define([
_setDefaults
:
function
()
{
_setDefaults
:
function
()
{
if
(
this
.
ranges
)
{
if
(
this
.
ranges
)
{
var
arr
=
[],
prev_name
=
''
;
var
me
=
this
,
arr
=
[],
prev_name
=
''
;
for
(
var
i
=
0
;
i
<
this
.
ranges
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
this
.
ranges
.
length
;
i
++
)
{
var
name
=
this
.
ranges
[
i
].
asc_getName
();
var
name
=
this
.
ranges
[
i
].
asc_getName
();
if
(
name
!==
prev_name
)
{
if
(
name
!==
prev_name
)
{
...
@@ -107,6 +108,11 @@ define([
...
@@ -107,6 +108,11 @@ define([
this
.
rangeList
.
store
.
sort
();
this
.
rangeList
.
store
.
sort
();
if
(
this
.
rangeList
.
store
.
length
>
0
)
if
(
this
.
rangeList
.
store
.
length
>
0
)
this
.
rangeList
.
selectByIndex
(
0
);
this
.
rangeList
.
selectByIndex
(
0
);
this
.
rangeList
.
scroller
.
update
({
alwaysVisibleY
:
true
});
_
.
delay
(
function
()
{
me
.
rangeList
.
cmpEl
.
find
(
'
.listview
'
).
focus
();
},
100
,
this
);
}
}
},
},
...
@@ -116,7 +122,9 @@ define([
...
@@ -116,7 +122,9 @@ define([
},
},
onPrimary
:
function
()
{
onPrimary
:
function
()
{
return
true
;
this
.
handler
&&
this
.
handler
.
call
(
this
,
'
ok
'
,
this
.
getSettings
());
this
.
close
();
return
false
;
},
},
onDlgBtnClick
:
function
(
event
)
{
onDlgBtnClick
:
function
(
event
)
{
...
...
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