Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
ade637b3
Commit
ade637b3
authored
Aug 04, 2016
by
Son Nguyen
Committed by
Gerrit Code Review
Aug 04, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Bug 1605071: Display JSON-style errors for ajax blocks"
parents
298823d9
0e7c6ff5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
htdocs/blocktype/blocktype.ajax.php
htdocs/blocktype/blocktype.ajax.php
+2
-0
No files found.
htdocs/blocktype/blocktype.ajax.php
View file @
ade637b3
...
...
@@ -11,6 +11,8 @@
define
(
'INTERNAL'
,
1
);
define
(
'PUBLIC'
,
1
);
define
(
'JSON'
,
1
);
define
(
'NOSESSKEY'
,
1
);
require
(
dirname
(
dirname
(
__FILE__
))
.
'/init.php'
);
require
(
$CFG
->
docroot
.
'/blocktype/lib.php'
);
...
...
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