Feng Forum

Other Topics => Development => : Markus March 01, 2011, 06:45:19 AM

: Take away the object type of a Task
: Markus March 01, 2011, 06:45:19 AM
Hi community!

Just if you want to have the opportunity to delete assigned <object type> of a task, the only way I found is to slightly modify a script:

ROOT\public\assets\javascript\og\tasks\addTask.js
line 218

:
var co_types = [];

//mw - deselect ObjectSubtype associated to Task
co_types.push([0, "--" + lang('none') + "--"]);

for (var i=0; i < object_subtypes.length; i++) {
co_types.push([object_subtypes[i].id, og.clean(object_subtypes[i].name)]);
}

Now you get a blank in your Combobox to deselect any Object type of a task to associate nothing.

@FengOffice DevTeam: Would be nice to have it in the new version included. Or did I miss a piece? ???

cheers
markus
: Re: Take away the object type of a Task
: franponce87 March 08, 2011, 01:56:03 PM
Hi Markus,

Thanks for your contribution! We may take this into account for a future release, but not for the next one as we would have to check out if this does not affect in any matter other things in the application, such as the usage of the custom properties for certain subtypes.

Best regards,
Francisco