|
From: <dor...@us...> - 2009-01-11 19:57:05
|
Revision: 1061
http://andro.svn.sourceforge.net/andro/?rev=1061&view=rev
Author: dorgan1983
Date: 2009-01-11 19:56:58 +0000 (Sun, 11 Jan 2009)
Log Message:
-----------
modified WYSIWYG to reflect new blockui and id modifications
Modified Paths:
--------------
trunk/andro/clib/x6.js
Modified: trunk/andro/clib/x6.js
===================================================================
--- trunk/andro/clib/x6.js 2009-01-11 19:56:22 UTC (rev 1060)
+++ trunk/andro/clib/x6.js 2009-01-11 19:56:58 UTC (rev 1061)
@@ -2384,8 +2384,9 @@
);
$(self).find("textarea").each(
function() {
+ var el = '#' + $(this).attr('id');
+ var wysiwyg = el + '_WYSIWYG';
if ($(this).attr('xtypeid') == 'mime-h-f' ) {
- var el = '#' + $(this).attr('id');
$(el).wysiwyg({
controls: {
separator09: { visible : true },
@@ -2398,9 +2399,9 @@
}
});
} else if ( $(this).attr('xtypeid') == 'mime-h' ) {
- var el = '#' + $(this).attr('id');
$(el).wysiwyg();
}
+ $(wysiwyg).block({message: null});
}
);
}
@@ -2602,7 +2603,8 @@
if ($(this).attr('xtypeid') == 'mime-h-f' || $(this).attr('xtypeid') == 'mime-h' ) {
var elIFrame = '#' + $(this).attr('id') + 'IFrame';
var el = '#' + $(this).attr('id');
- $($(elIFrame).document()).find('body').html($(el).val());
+ $($(elIFrame).document()).find('body').html($(el).val());
+ $(el + '_WYSIWYG').unblock();
}
}
);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|