 
 	</cfif>
 	<cfif action is "saveEdit">
-
-	<cfif tbl is "ctpublication_attribute">
-		<cfquery name="sav" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
-			update ctpublication_attribute set
-				publication_attribute='#publication_attribute#',
-				DESCRIPTION='#description#',
-				control='#control#'
-			where
-				publication_attribute='#origData#'
-		</cfquery>
-	<cfelseif tbl is "ctcoll_other_id_type">
+	<cfset did=''>
+	<cfif tbl is "ctcoll_other_id_type">
 		<cfquery name="sav" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
 			update ctcoll_other_id_type set
 				OTHER_ID_TYPE='#other_id_type#',

				 AND collection_cde='#origcollection_cde#'
			</cfif>
		</cfquery>
	</cfif>
	<cflocation url="CodeTableEditor.cfm?action=edit&tbl=#tbl#" addtoken="false">


	</cfif>

				partname = '#oldpartname#' AND
				list_order = '#oldlist_order#'
		</cfquery>

		<cfset did=rereplace(partname,"[^A-Za-z]","_","all")>
	<cfelse>
		<cfquery name="up" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
			UPDATE #tbl# SET #fld# = '#thisField#'
