[marginalia] r541 committed - Display verbatim HTML content in error message pop-ups

1 view
Skip to first unread message

margi...@googlecode.com

unread,
Jun 21, 2012, 1:53:32 AM6/21/12
to marginali...@googlegroups.com
Revision: 541
Author: geof.glass
Date: Wed Jun 20 22:53:19 2012
Log: Display verbatim HTML content in error message pop-ups


http://code.google.com/p/marginalia/source/detail?r=541

Modified:
/marginalia-lib/trunk/marginalia/marginalia.js

=======================================
--- /marginalia-lib/trunk/marginalia/marginalia.js Wed May 30 14:51:38 2012
+++ /marginalia-lib/trunk/marginalia/marginalia.js Wed Jun 20 22:53:19 2012
@@ -330,8 +330,9 @@
getLocalized( 'service error title ' + msgKey ) ),
domutil.element( 'p', { },
getLocalized( 'service error ' + msgKey ) + ' ' ),
- domutil.element( 'p', { },
- getLocalized( 'service error ' + status ) ) ] );
+ domutil.element( 'p', { }, msgKey + ' ' +
+ getLocalized( 'service error ' + status ) ),
+ domutil.element( 'p', { }, text ) ] );
document.body.appendChild( node );
setTimeout( function( ) {
jQuery( node ).fadeOut( 'def ', function( ) {
Reply all
Reply to author
Forward
0 new messages