Item1739: Prevent js error in edit screen

pencil
Priority: Normal
Current State: Closed
Released In: 1.0.6
Target Release: patch
Applies To: Engine
Component:
Branches:
Reported By: ArthurClemens
Waiting For:
Last Change By: KennethLavrsen
Sometimes the edit page gives a js error. Better to build in a check:
function setEditBoxHeight(inRowCount) {
   var el = document.getElementById(EDITBOX_ID);
   if (el) {
      el.rows = inRowCount;
   }
}

-- ArthurClemens - 16 Jun 2009

ItemTemplate edit

Summary Prevent js error in edit screen
ReportedBy ArthurClemens
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins Rev 4167 not found
TargetRelease patch
ReleasedIn 1.0.6
Topic revision: r6 - 22 Jun 2009, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy