Changes for page Script

From version 1.1
edited by superadmin
on 2025/02/21 15:00
Change comment: Install extension [org.xwiki.platform:xwiki-platform-annotation-ui/15.10.11]
To version 2.1
edited by Monika Leung
on 2025/04/05 16:45
Change comment: Install extension [org.xwiki.platform:xwiki-platform-annotation-ui/17.2.0]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.superadmin
1 +xwiki:XWiki.leung
XWiki.JavaScriptExtension[1]
Code
... ... @@ -1148,7 +1148,7 @@
1148 1148   if (!this.safeUpdate(this.createPanel, panelContent)) {
1149 1149   return;
1150 1150   }
1151 - // set the focus in the first element of type input
1151 + // Set the focus in the first element of type input, useful when not using the WYSIWYG editor CKEditor.
1152 1152   this.createPanel.select('form').first().focusFirstElement();
1153 1153   // and add the button observers
1154 1154   this.createPanel.down('input[type=submit]').observe('click', this.onAnnotationAdd.bindAsEventListener(this));
XWiki.RequiredRightClass[0]
Level
... ... @@ -1,0 +1,1 @@
1 +programming