jenkins-bot has submitted this change and it was merged.
Change subject: Use new error element
......................................................................
Use new error element
Depends on I5839ba62fe in VE-MW
Bug: T114754
Change-Id: I181f5cc2e6fc609870c2cb21b9255c57a6d33764
---
M modules/ve-score/ve.ui.MWScoreInspector.css
M modules/ve-score/ve.ui.MWScoreInspector.js
2 files changed, 2 insertions(+), 6 deletions(-)
Approvals:
Esanders: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/ve-score/ve.ui.MWScoreInspector.css
b/modules/ve-score/ve.ui.MWScoreInspector.css
index 0d8ed06..1b3ec20 100644
--- a/modules/ve-score/ve.ui.MWScoreInspector.css
+++ b/modules/ve-score/ve.ui.MWScoreInspector.css
@@ -8,7 +8,3 @@
.ve-ui-mwScoreInspector-content .ve-ui-mwExtensionWindow-input textarea {
font-family: monospace, Courier;
}
-
-.ve-ui-mwScoreInspector-content .ve-ui-mwLiveExtensionInspector-error-expanded
{
- white-space: pre-wrap;
-}
diff --git a/modules/ve-score/ve.ui.MWScoreInspector.js
b/modules/ve-score/ve.ui.MWScoreInspector.js
index 97084a6..85e62b9 100644
--- a/modules/ve-score/ve.ui.MWScoreInspector.js
+++ b/modules/ve-score/ve.ui.MWScoreInspector.js
@@ -152,7 +152,7 @@
notationCard.$element.append(
inputField.$element,
langField.$element,
- this.$generatedContentsErrorContainer
+ this.generatedContentsError.$element
);
audioCard.$element.append(
vorbisField.$element,
@@ -306,7 +306,7 @@
* Append the error to the current card.
*/
ve.ui.MWScoreInspector.prototype.onCardSet = function () {
- this.indexLayout.getCurrentCard().$element.append(
this.$generatedContentsErrorContainer );
+ this.indexLayout.getCurrentCard().$element.append(
this.generatedContentsError.$element );
};
/* Registration */
--
To view, visit https://gerrit.wikimedia.org/r/246787
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I181f5cc2e6fc609870c2cb21b9255c57a6d33764
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/extensions/Score
Gerrit-Branch: master
Gerrit-Owner: Tchanders <[email protected]>
Gerrit-Reviewer: Esanders <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits