From 47b4ebc92f6a24b7cfc299b75aa5c1af2c83d457 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Wed, 20 Aug 2014 17:05:01 +0100 Subject: [PATCH] Check for null when undoing history actions --- public/red/history.js | 46 ++++++++++++++++++++++++++++--------------- 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/public/red/history.js b/public/red/history.js index b5939f701..3a6d55133 100644 --- a/public/red/history.js +++ b/public/red/history.js @@ -34,26 +34,38 @@ RED.history = (function() { var i; if (ev) { if (ev.t == 'add') { - for (i=0;i