From 44c44c35b9e4b93404b380c10f5e0edbcfe3d4a7 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Tue, 18 Mar 2014 09:55:56 +0000 Subject: [PATCH] cleanup .unbind() code --- test/spec/mkws-pazpar2.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js index eff1c54..8772996 100644 --- a/test/spec/mkws-pazpar2.js +++ b/test/spec/mkws-pazpar2.js @@ -326,7 +326,7 @@ describe("Check record list", function () { var linkaddr = "div.mkwsRecords div.record:nth-child(1) a"; var waitcount = 2; -/* + /* // wait for new records, propertychange is for IE8 $("div.mkwsRecords").bind("DOMNodeInserted propertychange", function () { waitcount++; @@ -345,7 +345,7 @@ describe("Check record list", function () { runs(function () { expect(waitcount).toBeGreaterThan(0); - $("div.mkwsRecords").unbind("DOMNodeInserted DOMNodeRemoved"); + // $("div.mkwsRecords").unbind("DOMNodeInserted DOMNodeRemoved"); }); }); }); @@ -363,7 +363,7 @@ describe("Show record", function () { debug($("div.mkwsRecords div.record").text()); return show != null && show.length ? true : false; - }, "wait some miliseconds to show up a record", 4 * jasmine_config.second); + }, "wait some miliseconds to show up a record", 3 * jasmine_config.second); runs(function () { debug("show record pop up"); -- 1.7.10.4