Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sencha-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
sencha-core
Commits
eede8e92
Commit
eede8e92
authored
Jun 01, 2017
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Added WindowUnload protection before moving away
parent
e7ceb11a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
ResizeController.js
www/controller/ResizeController.js
+7
-0
No files found.
www/controller/ResizeController.js
View file @
eede8e92
...
...
@@ -195,3 +195,10 @@ Ext.define('PO.controller.ResizeController', {
if
(
me
.
debug
)
console
.
log
(
'PO.controller.gantt_editor.GanttResizeController.onSwitchBackFromFullScreen: Finished'
);
}
});
// Popup window before leaving the page
window
.
onbeforeunload
=
function
()
{
return
"Are you sure you want to navigate away?"
;
}
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