version 1.570, 2024/04/14 17:12:28
|
version 1.571, 2024/04/17 13:37:37
|
Line 1748 function seteditmode(form,editor) {
|
Line 1748 function seteditmode(form,editor) {
|
window.location = newloc; |
window.location = newloc; |
} else { |
} else { |
if (coursedoc) { |
if (coursedoc) { |
form.action += '?forceedit=1'; |
var curraction = form.action; |
if (!supplemental) { |
var idx = curraction.indexOf('?'); |
form.action += '®ister=1'; |
if (idx !== -1) { |
|
form.action = curraction.substring(0,idx); |
} |
} |
|
form.action += '?forceedit=1®ister=1'; |
if (querystr) { |
if (querystr) { |
form.action += '&'+querystr; |
form.action += '&'+querystr; |
} |
} |
Line 2004 ENDNOTFOUND
|
Line 2006 ENDNOTFOUND
|
$displayfile=$request->uri; |
$displayfile=$request->uri; |
if ($request->uri =~ m{^/uploaded/}) { |
if ($request->uri =~ m{^/uploaded/}) { |
if ($env{'request.course.id'}) { |
if ($env{'request.course.id'}) { |
if ($request->uri =~ m{^\Q/uploaded/$cdom/$cnum/supplemental/\E}) { |
if ($request->uri =~ m{^\Q/uploaded/$cdom/$cnum/\E(docs|supplemental)/}) { |
&Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'}, |
if ($1 eq 'supplemental') { |
['folderpath','title']); |
&Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'}, |
|
['folderpath','title']); |
|
} |
if (($env{'request.state'} eq 'edit') && ($env{'form.editmode'} eq 'edit') && |
if (($env{'request.state'} eq 'edit') && ($env{'form.editmode'} eq 'edit') && |
($filetype eq 'html')) { |
($filetype eq 'html')) { |
&Apache::lonhtmlcommon::clear_breadcrumbs(); |
&Apache::lonhtmlcommon::clear_breadcrumbs(); |