Permalink
Browse files

MDL-32117 EQUELLA plugin: Don't show close icons or cancel links in E…

…QUELLA because we're inside the File Picker dialog which has its own close button. Also, always return URLs for selected resources in the '?attachment.uuid=abcd' format so that URLs work if filenames are changed
  • Loading branch information...
nread authored and danpoltawski committed May 10, 2012
1 parent 27bb724 commit b709660fb2f463997816599637e9c22b0b229ff4
Showing with 2 additions and 0 deletions.
  1. +2 −0 repository/equella/lib.php
@@ -60,6 +60,8 @@ public function get_listing($path = null, $page = null) {
. '&courseId='.urlencode($COURSE->id)
. '&action='.urlencode($this->get_option('equella_action'))
. '&forcePost=true'
+ . '&cancelDisabled=true'
+ . '&attachmentUuidUrls=true'
. '&options='.urlencode($this->get_option('equella_options') . '&mimeTypes=' . $mimetypesstr);
$list = array();
$list['object'] = array();

0 comments on commit b709660

Please sign in to comment.