Item1739: Prevent js error in edit screen

Priority: Normal
Current State: Closed
Released In: 1.0.6
Target Release: patch
Applies To: Engine
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
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Priority Normal
CurrentState Closed
Checkins Rev 4167 not found
TargetRelease patch
ReleasedIn 1.0.6
Topic revision: r6 - 22 Jun 2009, KennethLavrsen - This page was cached on 25 Nov 2015 - 10:21. Get a fresh version here.
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License