js/jqte/uncompressed/jquery-te-1.4.0.js
function linkAreaSwitch(status)
			{
				// remove all pre-link attribute (mark as "link will be added")
				clearSetElement("["+setdatalink+"]:not([href])");
				jQTE.find("["+setdatalink+"][href]").removeAttr(setdatalink);
				
				if(status)
				{
					toolbar.data("linkOpened",true);
					linkform.show();
				}
				else
				{ 
					toolbar.data("linkOpened",false);
					linkform.hide();
				}
				
				linktypeSwitch();
			}
function linkAreaSwitch(status)
			{
				// remove all pre-link attribute (mark as "link will be added")
				clearSetElement("["+setdatalink+"]:not([href])");
				jQTE.find("["+setdatalink+"][href]").removeAttr(setdatalink);
				
				if(status)
				{
					toolbar.data("linkOpened",true);
					linkform.show();
				}
				else
				{ 
					toolbar.data("linkOpened",false);
					linkform.hide();
				}
				
				linktypeSwitch();
			}
function linkAreaSwitch ( status ) { // remove all pre-link attribute (mark as "link will be added")
 clearSetElement ( "[" + setdatalink + "]:not([href])" ) ; jQTE . find ( "[" + setdatalink + "][href]" ) . removeAttr ( setdatalink ) ; if ( status ) { toolbar . data ( "linkOpened" , true ) ; linkform . show ( ) ; } else { toolbar . data ( "linkOpened" , false ) ; linkform . hide ( ) ; } linktypeSwitch ( ) ; }
the function of switching link-form-field
the function of switching link - form - field