Dreamweaver 8 moving code blocks


************* forget **************
the 8.0.2 update resolved issue
*****************************************

i writing cfm pages , have code looks so:

<cfif isdefined("form.issubmitted")>
<cfscript>
therapist = createobject('component','com.cptn.therapist');
therapist.addclinicadmin();
</cfscript>
<cflocation url="manageclinicadmins.cfm?msg=the clinic admin has been added." addtoken="no">
<cfelse>
<cfscript>
clinic = createobject('component','com.cptn.clinic');
fetchallclinics = clinic.fetchallclinics();
</cfscript>
</cfif>
<cfinclude template="#request.root#include_top.cfm">
</head>
<body>
<cfinclude template="#request.root#include_page_top.cfm">


when save page, dreamweaver automatically moves whole cfif block down between </head> , <body> tags. checked preferences , have code re-writing turned off cannot figure out why changing code... text



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial