Bug 436659 - The description of Feed View is not displayed. r=mano

This commit is contained in:
Gavin Sharp 2009-02-07 12:43:09 +01:00
Родитель f3998dc2f9
Коммит 4129346688
2 изменённых файлов: 6 добавлений и 5 удалений

Просмотреть файл

@ -30,9 +30,10 @@
<body onload="SubscribeHandler.writeContent();" onunload="SubscribeHandler.uninit();">
<div id="feedHeaderContainer">
<div id="feedHeader" dir="&locale.dir;">
<div id="feedIntroText"
><xul:description id="feedSubscriptionInfo1" /><xul:description id="feedSubscriptionInfo2"
/></div>
<div id="feedIntroText">
<p id="feedSubscriptionInfo1" />
<p id="feedSubscriptionInfo2" />
</div>
<!-- XXXmano this can't have any whitespace in it. Otherwise you would see
how much XUL-in-XHTML sucks, see bug 348830 -->

Просмотреть файл

@ -1114,8 +1114,8 @@ FeedWriter.prototype = {
this._document.getElementById("feedSubscriptionInfo2");
this._contentSandbox.feedinfo2Str = this._getString(textfeedinfo2);
this._contentSandbox.header = header;
codeStr = "feedinfo1.value = feedinfo1Str; " +
"feedinfo2.value = feedinfo2Str; " +
codeStr = "feedinfo1.textContent = feedinfo1Str; " +
"feedinfo2.textContent = feedinfo2Str; " +
"header.setAttribute('firstrun', 'true');"
Cu.evalInSandbox(codeStr, this._contentSandbox);
prefs.setBoolPref(PREF_SHOW_FIRST_RUN_UI, false);