Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


[BUG+FIX] Saving after command drag&drop breaks the commands list

- - - - -

  • Please log in to reply
1 reply to this topic



    Advanced Member

  • Member
  • PipPipPip
  • 414 posts
  • Joined 20-March 04
This is caused by two different issues:
  • The function that populates the command textbox searches the array trough Id even though when drag&dropping the Id stop reflecting the current grid position.
  • When you drag&drop an item the commands array is not updated so fixing the function for populating the textbox is not enough, the array has to be refreshed after each drag&drop as well.
In configwizard.js replace


		CommandsGrid.attachEvent("onRowSelect",function (rowId) {
		CommandsGrid.attachEvent("onDrop", ExtractCommandsValues);

Please report if this change breaks anything.

Edited by Francesco, 18 May 2012 - 07:31 PM.

How to remove advertisement from MSFN



    WPI Guru

  • Developer
  • 8,970 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
added in 8.5

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users