1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-23 11:46:37 +02:00

infobox_callback2: fail on invalid dialog xml

This commit is contained in:
Andrew Dolgov 2010-11-20 15:38:27 +03:00
parent 33f31dfdfc
commit 0a83659371

View File

@ -466,7 +466,6 @@ function infobox_callback2(transport) {
var content;
var dtitle = "Dialog";
if (transport.responseXML) {
var dlg = transport.responseXML.getElementsByTagName("dlg")[0];
var title = transport.responseXML.getElementsByTagName("title")[0];
@ -477,10 +476,6 @@ function infobox_callback2(transport) {
content = content.firstChild.nodeValue;
} else {
content = transport.responseText;
}
if (!dialog) {
dialog = new dijit.Dialog({
title: title,