editQuestionBox.jsp

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-4015 * fixed Feedback that haven't been recorded * Removed completely redundant QaGeneralAuthoringDTO.java and replaced its occurrences in jsps with formBean

  1. … 9 more files in changeset.
LDEV-3785: Update Q&A Author to Bootstrap. Clean up.

  1. … 27 more files in changeset.
LDEV-2918: Get rid of IE, "main" and "tabbed" styles as they are obsolete and only blur CSS tag work.

  1. … 102 more files in changeset.
LDEV-2917: Use <!DOCTYPE html> everywhere.

  1. … 170 more files in changeset.
LDEV-3482 LDEV-3482 Prevent changes in Q&A after the first submission is sent (e.g. when using 2 browsers)

  1. … 5 more files in changeset.
LDEV-3482 LDEV-3482 Prevent changes in Q&A after the first submission is sent (e.g. when using 2 browsers)

  1. … 5 more files in changeset.
LDEV-3480 Peer review feature for Q&A

  1. … 54 more files in changeset.
LDEV-3480 Peer review feature for Q&A

  1. … 52 more files in changeset.
LDEV-3301 prevent CKEditor from occupying more space than available due to its autogrow feature

  1. … 14 more files in changeset.
LDEV-3301 prevent CKEditor's autogrow feature occupying more space than available

  1. … 1 more file in changeset.
LDEV-3236 Ability to change, add, remove Q&A questions even after student have reached it

  1. … 53 more files in changeset.
LDEV-2524 fixed jsps from HEAD branch

*it also includes fix for expanding window on adding new questions.

which is caused by CKEditor and this fix should be removed once CKeditor will start working correct

  1. … 2 more files in changeset.
Merging changes from 2.3 release branch for LDEV-2524.

  1. … 29 more files in changeset.
LDEV-2577 The new CKEditor does not have Java Integration library (yet). We have been using it to: a) get the tag library to create our own tag <lams:FCKeditor> But the new CKEditor uses AJAX to get the contents, so the library is not needed anymore. The references to it has been deleted from every tool. FCKEditor.tag has been rewritten to use the new syntax. b) get a FCKEditor internal file manager by a Connector from the jar The new CKEditor does not provide a file manager - the license became commercial and the whole thing became a separate project, CKFinder. There were alternatives suggested on the web: jasfinder - http://sourceforge.net/projects/jasfinder/support kcfinder - http://kcfinder.sunhater.com/ some other - http://www.miguelmanchego.com/2009/gestor-de-archivos-ckeditor/ but we have already nicely integrated with the old file manager. This page: http://jacek-kromski.jogger.pl/2009/09/25/integracja-ckeditor-z-przegladarka-plikow-z-fckeditor/ in polish says how to use the file manager from the old FCKEditor. The steps that have to be done: - download the new CKEditor - download the old FCKEditor - copy the filemanager to ckeditor directory - in the file browser/default/frmresourceslist.html, line 92 (with SetUrl call) needs to be replaced to: window.top.opener.CKEDITOR.tools.callFunction( window.top.document.CKEditorFuncNum, fileUrl, '' ); - in the file browser/default/browser.html add in line 80: document.CKEditorFuncNum = GetUrlParam( 'CKEditorFuncNum');

FCKeditor has been used in version 2.6.6, the last one before switching to CKEditor project.

Changes required to use newer version of Java Integration library

for FCKEditor so it was upgraded to the latest (for FCKEditor, because one for CKEditor does not exist) version 2.6.

This also required the Prototype to be upgraded to the latest 1.6.1.

The CKEditor code also needed to be changed, so if another upgrade to a newer version occurs, we need to remember to repeat these steps:

http://cksource.com/forums/viewtopic.php?f=5&t=15750

It says:

/ckeditor/plugins/link/dialogs/link.js

Changes

label:a.lang.common.target,'default':'notSet' --> label:a.lang.common.target,'default':'_blank'

label:a.lang.link.targetFrameName,'default':'' --> label:a.lang.link.targetFrameName,'default':'_blank'

It is also worth mentioning that if you include the ckeditor.js file twice in the same page, sometimes it causes trouble, thus detection in the CKEditor.tag files.

  1. … 1096 more files in changeset.
LDEV-1255: Moving the code for stopping jsps caching to a new custom tag, so that it can be applied consistently across all pages. Moved the utf-8 statements to the same tag so we don't have to remember to put them in all pages.

  1. … 184 more files in changeset.
Change textarea to lams:textarea.

  1. … 1 more file in changeset.
imgbuttonwrapper tag changes for qa

  1. … 1 more file in changeset.
updated mcq, qa, vote for RTL

  1. … 71 more files in changeset.
Cleaned up jsp pages.

  1. … 7 more files in changeset.
Updated authoring pages.

  1. … 34 more files in changeset.
Fix for LDEV-829 Replace all instances of bean:message with fmt:message

  1. … 29 more files in changeset.
resolved any remaining issues.

  1. … 40 more files in changeset.
Major coding work based on new layout structure. New properties added. Database model updated Copyright notes included.

    • -0
    • +113
    ./editQuestionBox.jsp
  1. … 37 more files in changeset.