web stats
code template viewer rearranges functions? - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 06-01-2012, 10:44 AM
DavidL DavidL is offline
OBX.1 Kenobi
 
Join Date: Sep 2011
Location: Dayton Ohio
Posts: 43
DavidL is on a distinguished road
Default code template viewer rearranges functions?

(2.2.0)

We've developed a library of code templates and external scripts.

I was tasked to look at converting our external scripts into code template functions (in order to reduce the number of artifacts that need to be deployed, maintained, etc.)

Now the template viewer/editor suggests one function per template, so that's how I did it. I noticed, however, that when I got up to about 20 templates that they started spontaneously rearranging themselves.
This happens even if I delete everything and re-import the templates from the saved XML. (Although it looks fine right after importing ... the change doesn't manifest itself until you switch away from code template view and switch back.)

What I would like is to have the utility functions at the top of the list, followed by the "router"/dispatcher functions, followed by channel- and/or message-specific stuff.

Anyone have any insight on this?

tia

David
Reply With Quote
Reply

Tags
code template, javascript

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 02:10 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation