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
mahara
mahara
Commits
0d46ca4a
Commit
0d46ca4a
authored
Sep 13, 2007
by
Penny Leach
Committed by
Nigel McNie
Oct 17, 2007
Browse files
Don't send back json success messages for view changes, it's too clunky
parent
72ec1774
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/viewlib.php
View file @
0d46ca4a
...
...
@@ -292,7 +292,9 @@ function view_process_changes() {
try
{
$values
[
'returndata'
]
=
defined
(
'JSON'
);
$returndata
=
$view
->
$action
(
$values
);
if
(
!
defined
(
'JSON'
))
{
$message
=
$view
->
get_viewcontrol_ok_string
(
$action
);
}
$success
=
true
;
}
catch
(
Exception
$e
)
{
...
...
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