From a3eaf585e7bfab188caef0eb9c126cfcea96a0ee Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Tue, 4 Dec 2012 09:59:21 +0100 Subject: [PATCH] a removeChild block opera on iframe stream, removed for further investigations and update version --- web/Obj/brisk.phh | 4 ++-- web/xynt-streaming.js | 14 ++++++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index c71e15b..f38b504 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -140,10 +140,10 @@ $mlang_brisk = array( 'btn_backstand'=> array( 'it' => 'torna in piedi', $G_lng = langtolng($G_lang); $G_all_points = array( 11,10,4,3,2, 0,0,0,0,0 ); -$G_brisk_version = "4.2.1"; +$G_brisk_version = "4.3.0"; /* MLANG: ALL THE INFO STRINGS IN brisk.phh */ -$root_wellarr = array( 'it' => array ( 'Brisk (Ver. '.$G_brisk_version.'), NOVITA\': adottato sac-a-push come motore per l\'invio dei dati in tempo reale, nuovo trasporto httpfile per explorer, tanti bug fixati, freeze su disco, fix del calcolo dei punti.', +$root_wellarr = array( 'it' => array ( 'Brisk (Ver. '.$G_brisk_version.'), NOVITA\': adottato sac-a-push come motore per l\'invio dei dati in tempo reale, nuovo trasporto httpfile per explorer, tanti bug fixati, freeze su disco, fix del calcolo dei punti, nuovo stream dati xhr.', 'Se vuoi iscriverti alla Mailing List, cliccala!' ), 'en' => array ( 'Brisk (Ver. '.$G_brisk_version.'), NEWS: usage of reader/writer locking instead of generic exclusive locking.', 'If you want to subscribe our Mailing List, click it!' ) ); diff --git a/web/xynt-streaming.js b/web/xynt-streaming.js index a8cad92..7e61638 100644 --- a/web/xynt-streaming.js +++ b/web/xynt-streaming.js @@ -244,10 +244,16 @@ transport_iframe.prototype = { ifra: null, destroy: function () { /* public */ - if (this.ifra != null) { - this.doc.body.removeChild(this.ifra); - delete this.ifra; - this.ifra = null; + try { + if (this.ifra != null) { + // FIXME: with opera on win this remove child crash js so is + // commented + // this.doc.body.removeChild(this.ifra); + delete this.ifra; + this.ifra = null; + } + } catch (b) { + alert("catched"); } }, -- 2.17.1