SDU

Service Desk Forums SDU Forums

SDU

Personal tools
 
Reply to this topicStart new topic
> Property Tab - Flipping the Value & Example fields, xx_prop_tab.htmpl form - works in view mode but not edit
redwars
post Jan 21 2010, 12:43 PM
Post #1


Level 4 Contributor
****

Group: Members
Posts: 54
Joined: 14-February 08
Member No.: 120



This has to be a simple fix but I'm not seeing it. I want the properties that are associated with a Chg Order or Request to display in this order on the properties tab:

Label, Example, Value

as to

Label, Value, Example

So I modified xx_prop_tab.htmpl form and load_properties.htmpl and flipped all of the lines for "example" and "value", as well as "sample" and "value" and all is okay UNTIL I go into edit mode. When the ticket is in edit mode it keeps wanting to edit the middle field which now Example but used to be Value.

Not sure what I'm overlooking - help!!
Go to the top of the page
 
+Quote Post
redwars
post Jan 27 2010, 03:03 PM
Post #2


Level 4 Contributor
****

Group: Members
Posts: 54
Joined: 14-February 08
Member No.: 120



No suggestions, I guess this was as easy as I thought blush.gif
Go to the top of the page
 
+Quote Post
mikelm
post Jan 28 2010, 01:39 AM
Post #3


Level 7 Contributor
*******

Group: Members
Posts: 833
Joined: 13-February 08
From: good old germany
Member No.: 113



I assume, you have to change the javascript function detailWriteProperty itself to achieve your goal. Copy the function code from sdk/scripts/detail_form.js to your sitemods.js in site/mods/www/wwwroot/scripts and change it to your needs... Hope that helps.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: