<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,6 @@
 /**
 * MySource Matrix Simple Edit Tools (jquery.matrix.js)
-* version: 0.3.1 (JUNE-11-2009)
+* version: 0.3.2 (OCT-2-2009)
 * Copyright (C) 2009 Nicholas Hubbard
 * @requires jQuery v1.3 or later
 * @requires Trigger or Asset configuration in MySource Matrix
@@ -38,6 +38,7 @@ $.fn.matrixForm = function (options) {
 		findCreated: '',
 		findTarget: '',
 		loading: '',
+		noFrame: false,
 		errorArray: false,
 		errorSource: '',
 		errorMessage: 'Please correct the following errors:',
@@ -62,7 +63,7 @@ $.fn.matrixForm = function (options) {
 		var form_submit_class = form_submit.attr('class');
 		
 		// Check to see if we are uploading a file
-		if (!obj.find('input:file')) {
+		if (!obj.find('input:file') || defaults.noFrame) {
 			
 			$('#sq_commit_button').removeAttr('onclick');
 			
@@ -85,10 +86,13 @@ $.fn.matrixForm = function (options) {
 			
 			// Set our click function for commit button
 			$('#' + set_click).click(function () {
-				$('textarea[name^=&quot;news_item&quot;], textarea[name^=&quot;calendar_event&quot;]').each(function () {
-					var textId = $(this).attr('id');
-					$(this).val(eval('editor_' + textId + '.getHTML();'));
-				});
+				// Only if we are using HTML Area
+				if ($(&quot;div[id*='wysiwyg_div']&quot;).length &gt; 0) {
+					$('textarea[name^=&quot;news_item&quot;], textarea[name^=&quot;calendar_event&quot;]').each(function () {
+						var textId = $(this).attr('id');
+						$(this).val(eval('editor_' + textId + '.getHTML();'));
+					});
+				}
 				
 				// Serialize all form data
 				var serializeForm = obj.serialize();</diff>
      <filename>jquery.matrix.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a3b739a45f1035ddbe8a0db08c6305eb9bdb7f54</id>
    </parent>
  </parents>
  <author>
    <name>Nic Hubbard</name>
    <email>nic@zedsaid.com</email>
  </author>
  <url>http://github.com/nnhubbard/matrix-jquery-tools/commit/679ec161bcd9ecbb788591f8553230d7bc3862da</url>
  <id>679ec161bcd9ecbb788591f8553230d7bc3862da</id>
  <committed-date>2009-10-02T10:02:36-07:00</committed-date>
  <authored-date>2009-10-02T10:02:36-07:00</authored-date>
  <message>Added new option, noFrame to matrixForm.  This is to force the plugin to not use an iFrame.  This can be useful with alternate WYSIWYG editors. Also, matrixFrame now checks if a Matrix WYSIWYG is being used and only tries to run the getHTML() function if it finds one.</message>
  <tree>843fc055fa85f596c1e50b0cfe7fd3f39a8faaf9</tree>
  <committer>
    <name>Nic Hubbard</name>
    <email>nic@zedsaid.com</email>
  </committer>
</commit>
