 				},
 				error: function (jqXHR, textStatus, errorThrown)
 				{
+					$("#schema_ddl").data("ready", false);
 					$("#schema_notices").html(errorThrown);	
 				},
 				complete: function (jqXHR, textStatus)

		,allow_toggle: true
		,word_wrap: true
		,language: "en"
		,syntax: "sql"	
	});
	
	editAreaLoader.init({

				success: function (data, textStatus, jqXHR) {
					if (data["short_code"])
					{
						$("#schema_ddl").data("ready", true);
						$("#schema_short_code").val($.trim(data["short_code"]));
						$.bbq.pushState("#!" + $("#db_type_id").val() + '/' + $.trim(data["short_code"]));
						$(".schema_ready").unblock();
