- Timestamp:
- Mar 22, 2014 1:57:04 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/js/Msg.js
r471 r473 67 67 // If an "above msg" is provided, and one doesn't already exist, add it to the message box. 68 68 if (this.o.above_msg.length && !$(this.o.container).find('.sc-above').length) { 69 $(this.o.container).append($('<div />', {'class': 'sc-above sc-js-msg'}).text(this.o.above_msg));69 $(this.o.container).append($('<div class="sc-js-msg sc-above"></div>').text(this.o.above_msg)); 70 70 } 71 71 // Use 'sc-msg-error' as default class string. … … 73 73 // Append this raised message to the sc-msg stack, if it doesn't exist already. 74 74 if (!$(this.o.container).find(':contains("' + message + '")').length) { 75 $(this.o.container).append($('<div />', {'class': msg_class + ' sc-js-msg'}).text(message)).show();75 $(this.o.container).append($('<div class="sc-js-msg ' + msg_class + '"></div>').text(message)).show(); 76 76 } 77 77
Note: See TracChangeset
for help on using the changeset viewer.