Created
July 3, 2020 21:44
-
-
Save diegonvs/5771f259c1497a780b9141940233cc1b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
portal-web/docroot/html/taglib/ui/error/page.jsp: let alertContainer = document.getElementById('alertContainer'); | |
portal-web/docroot/html/taglib/ui/error/page.jsp: if (!alertContainer) { | |
portal-web/docroot/html/taglib/ui/error/page.jsp: alertContainer = document.createElement('div'); | |
portal-web/docroot/html/taglib/ui/error/page.jsp: alertContainer.id = 'alertContainer'; | |
portal-web/docroot/html/taglib/ui/error/page.jsp: dom.addClasses(alertContainer, 'alert-notifications alert-notifications-fixed'); | |
portal-web/docroot/html/taglib/ui/error/page.jsp: dom.enterDocument(alertContainer); | |
portal-web/docroot/html/taglib/ui/error/page.jsp: dom.removeChildren(alertContainer); | |
portal-web/docroot/html/taglib/ui/error/page.jsp: if (!alertContainer.hasChildNodes()) { | |
portal-web/docroot/html/taglib/ui/error/page.jsp: dom.exitDocument(alertContainer); | |
portal-web/docroot/html/taglib/ui/error/page.jsp: alertContainer | |
util-taglib/src/com/liferay/taglib/ui/success/toast.tmpl:let alertContainer = document.getElementById('alertContainer'); | |
util-taglib/src/com/liferay/taglib/ui/success/toast.tmpl:if (!alertContainer) { | |
util-taglib/src/com/liferay/taglib/ui/success/toast.tmpl: alertContainer = document.createElement('div'); | |
util-taglib/src/com/liferay/taglib/ui/success/toast.tmpl: alertContainer.id = 'alertContainer'; | |
util-taglib/src/com/liferay/taglib/ui/success/toast.tmpl: dom.addClasses(alertContainer, 'alert-notifications alert-notifications-fixed'); | |
util-taglib/src/com/liferay/taglib/ui/success/toast.tmpl: dom.enterDocument(alertContainer); | |
util-taglib/src/com/liferay/taglib/ui/success/toast.tmpl: dom.removeChildren(alertContainer); | |
util-taglib/src/com/liferay/taglib/ui/success/toast.tmpl: if (!alertContainer.hasChildNodes()) { | |
util-taglib/src/com/liferay/taglib/ui/success/toast.tmpl: dom.exitDocument(alertContainer); | |
util-taglib/src/com/liferay/taglib/ui/success/toast.tmpl: alertContainer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment