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
fusiondirectory
fusiondirectory
Commits
01048057
Commit
01048057
authored
Oct 25, 2016
by
Côme Chilliet
Browse files
Fixes copy/pasting objects with sub dialogs
parent
4634a56a
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/class_CopyPasteHandler.inc
View file @
01048057
...
...
@@ -261,8 +261,7 @@ class CopyPasteHandler
}
if
(
$this
->
current
)
{
$display
=
$this
->
current
[
'object'
]
->
execute
();
if
(
isset
(
$this
->
current
[
'object'
]
->
dialog
)
&&
(
is_object
(
$this
->
current
[
'object'
]
->
dialog
)
||
$this
->
current
[
'object'
]
->
dialog
))
{
if
(
$this
->
current
[
'object'
]
->
dialogOpened
())
{
return
$display
;
}
else
{
// Display ok, (apply) and cancel buttons
...
...
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