User tests: Successful: Unsuccessful:
Simple PR to correct the colors and titles of the js messages.
// JS Messages
JText::script('MESSAGE');
JText::script('ERROR');
JText::script('NOTICE');
JText::script('WARNING');
JFactory::getDocument()->addScriptDeclaration("
jQuery(document).ready(function() {
var messages = {
'message': ['JS Success Message 1', 'JS Success Message 2'],
'error': ['JS Error Message 1', 'JS Error Message 2'],
'notice': ['JS Notice Message 1', 'JS Notice Message 2'],
'warning': ['JS Warning Message 1', 'JS Warning Message 2']
};
Joomla.renderMessages(messages);
});");
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Category | ⇒ | JavaScript |
I have tested this item successfully on 8575693
thanks for testing @brianteeman @infograf768 !
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
?
|
Milestone |
Added: |
Thank you @andrepereiradasilva and testers!
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-05-17 11:11:26 |
Closed_By | ⇒ | Kubik-Rubik |
Labels |
Removed:
?
|
I have tested this item successfully on 8575693
Good spot
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10521.