Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
bd97417a
Commit
bd97417a
authored
Jan 30, 2018
by
bbaer
Browse files
more refactoring error
parent
d4ec4d60
Changes
1
Hide whitespace changes
Inline
Side-by-side
javascript/src/QfqPage.js
View file @
bd97417a
...
...
@@ -111,20 +111,20 @@ var QfqNS = QfqNS || {};
var
message
=
"
\
0/
"
;
n
.
Log
.
debug
(
"
beforeUnloadHandler()
"
);
if
(
this
.
qfq
Page
.
isFormChanged
()
&&
!
this
.
intentionalClose
)
{
if
(
this
.
qfq
Form
.
isFormChanged
()
&&
!
this
.
intentionalClose
)
{
event
.
returnValue
=
message
;
return
message
;
}
this
.
qfq
Page
.
releaseLock
();
this
.
qfq
Form
.
releaseLock
();
};
/**
* @private
*/
n
.
QfqPage
.
prototype
.
destroyFormHandler
=
function
(
obj
)
{
this
.
settings
.
qfq
Page
=
null
;
this
.
settings
.
qfq
Form
=
null
;
$
(
'
#
'
+
this
.
settings
.
tabsId
).
remove
();
};
...
...
Write
Preview
Supports
Markdown
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