Skip to content

Disabled tabs for the PG editor.#3025

Open
drgrice1 wants to merge 1 commit into
openwebwork:WeBWorK-2.21from
drgrice1:pgeditor-disabled-tabs
Open

Disabled tabs for the PG editor.#3025
drgrice1 wants to merge 1 commit into
openwebwork:WeBWorK-2.21from
drgrice1:pgeditor-disabled-tabs

Conversation

@drgrice1

@drgrice1 drgrice1 commented Jun 24, 2026

Copy link
Copy Markdown
Member

The "Save" tab will always shown for all file types, but will be disabled for any file not in the course's templates directory (symlinks do not count here, i.e., this tab will not be disabled for a file that is linked to from the course's templates directory assuming the server has write permission to the file), or the server does not have write permission to the file.

The "Append" tab will be shown for all PG file types (problems and set headers). However, it will be disabled for any file not in the course's templates directory (again symlinks do not count here, i.e., this tab will not be disabled for a file that is linked to from the course's templates directory, even if the server does not have write permissions to the file).

Also the help has been updated. help for this. The help for each action tab now states when the tab is available and when it is active.

The "Save" tab will always shown for all file types, but will be
disabled for any file not in the course's templates directory (symlinks
do not count here, i.e., this tab will not be disabled for a file that
is linked to from the course's templates directory assuming the server
has write permission to the file), or the server does not have write
permission to the file.

The "Append" tabe will be shown for all PG file types (problems and set
headers).  However, it will be disabled for any file not in the course's
templates directory (again symlinks do not count here, i.e., this tab
will not be disabled for a file that is linked to from the course's
templates directory, even if the server does not have write permissions
to the file).

Also the help has been updated. help for this. The help for each action
tab now states when the tab is available and when it is active.
@drgrice1 drgrice1 force-pushed the pgeditor-disabled-tabs branch from 5960a98 to 7fc2cfd Compare June 24, 2026 21:44
Comment thread templates/HelpFiles/InstructorPGProblemEditor.html.ep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants