Foswiki on GitHub is open for business! Next release meeting: Monday October 13, 1300Z

Item10075: Rename UI's 'select all' and 'clear all' buttons appear to do nothing

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Urgent Closed Engine    
the tickboxes don't change selection..

found on trunk, havn't tested 1.1 or 1.0 yet.

-- SvenDowideit - 25 Nov 2010

tested and found to be broken on ff and chrome

-- SvenDowideit - 25 Nov 2010

js error?

-- ArthurClemens - 25 Nov 2010

nope - no complaints from the browser.

-- SvenDowideit - 26 Nov 2010

Confirmed.

The buttons do nothing.

I have tested Release01x01 branch and latest Firefox on Windows.

I see plenty of errors in Firefox. Just looking at rename screen I get...

Warning: Error in parsing value for 'display'.  Declaration dropped.
Source File: http://www.lavrsen.dk/foswiki/pub/System/SkinTemplates/base.css
Line: 1

Warning: Unknown property 'box-shadow'.  Declaration dropped.
Source File: http://www.lavrsen.dk/foswiki/pub/System/PatternSkinTheme/colors.css
Line: 86

Warning: Error in parsing value for 'display'.  Declaration dropped.
Source File: http://www.lavrsen.dk/foswiki/pub/System/TwistyPlugin/jquery.twisty.css?version=1.6.0
Line: 3

Warning: Expected ']' to terminate attribute selector but found '.'.
Source File: http://www.lavrsen.dk/foswiki/bin/rename/Kenneth/FoswikiOnRedHat
Line: 0

-- KennethLavrsen - 12 Dec 2010

These errors look like CSS errors. They won't stop the page from working.

-- ArthurClemens - 12 Dec 2010

thing is, the page has stopped working.

-- SvenDowideit - 13 Dec 2010

It is not a js bug. The required js is just not loaded. In Release01x00 there was the file foswiki_renamebase.js with this contents:
/**
Checks/unchecks all checkboxes in form inForm.
*/
function checkAll(inForm, inState) {
   // find button element index
   if (inForm == undefined) return;
   var i, j = 0;
   for (i = 0; i < inForm.length; ++i) {
      if (inForm.elements[i].name.match("referring_topics")) {
         inForm.elements[i].checked = inState;
      }
   }
}

Somehow this file is not loaded, the supposedly generated file foswiki_renamebase.js is not in MANIFEST and most likely this file has disappeared from the rename templates.

-- ArthurClemens - 13 Dec 2010

 

ItemTemplate edit

Summary Rename UI's 'select all' and 'clear all' buttons appear to do nothing
ReportedBy SvenDowideit
Codebase 1.1.2, trunk
SVN Range
AppliesTo Engine
Component
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:4d701519bab9 distro:620a37b23a1e
TargetRelease patch
ReleasedIn 1.1.3
Topic revision: r14 - 16 Apr 2011, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License