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
4297290b
Commit
4297290b
authored
Jan 13, 2017
by
Alexander Yuzhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE mobile] Fixed add/remove sheets via context menu
parent
6023cc1c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
apps/spreadsheeteditor/mobile/app/controller/Statusbar.js
apps/spreadsheeteditor/mobile/app/controller/Statusbar.js
+4
-4
apps/spreadsheeteditor/mobile/app/view/Statusbar.js
apps/spreadsheeteditor/mobile/app/view/Statusbar.js
+7
-7
No files found.
apps/spreadsheeteditor/mobile/app/controller/Statusbar.js
View file @
4297290b
...
...
@@ -250,16 +250,16 @@ define([
deleteWorksheet
:
function
()
{
var
me
=
this
;
if
(
this
.
sheets
.
length
==
1
)
{
uiApp
.
alert
(
this
.
errorLastSheet
);
if
(
me
.
sheets
.
length
==
1
)
{
uiApp
.
alert
(
me
.
errorLastSheet
);
}
else
{
uiApp
.
confirm
(
this
.
warnDeleteSheet
,
undefined
,
function
()
{
uiApp
.
confirm
(
me
.
warnDeleteSheet
,
undefined
,
_
.
buffered
(
function
()
{
if
(
!
me
.
api
.
asc_deleteWorksheet
()
)
{
_
.
defer
(
function
(){
uiApp
.
alert
(
me
.
errorRemoveSheet
);
});
}
});
}
,
300
)
);
}
},
...
...
apps/spreadsheeteditor/mobile/app/view/Statusbar.js
View file @
4297290b
...
...
@@ -72,16 +72,16 @@ define([
render
:
function
()
{
var
me
=
this
;
this
.
$el
=
$
(
this
.
template
).
appendTo
(
$
(
this
.
el
));
me
.
$el
=
$
(
me
.
template
).
appendTo
(
$
(
me
.
el
));
this
.
$boxTabs
=
this
.
$el
.
find
(
'
.box-tabs > ul
'
);
this
.
$btnAddTab
=
this
.
$el
.
find
(
'
#box-addtab > .button
'
);
this
.
$btnAddTab
.
on
(
'
click
'
,
function
(
e
)
{
me
.
$boxTabs
=
me
.
$el
.
find
(
'
.box-tabs > ul
'
);
me
.
$btnAddTab
=
me
.
$el
.
find
(
'
#box-addtab > .button
'
);
me
.
$btnAddTab
.
single
(
'
click
'
,
_
.
buffered
(
function
(
e
)
{
me
.
fireEvent
(
'
sheet:addnew
'
);
});
}
,
300
)
);
//
this
.editMode = false;
return
this
;
//
me
.editMode = false;
return
me
;
},
setMode
:
function
(
mode
)
{
...
...
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