Author Topic: Take away the object type of a Task  (Read 3343 times)

Markus

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Take away the object type of a Task
« on: 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

Code: [Select]
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

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Take away the object type of a Task
« Reply #1 on: 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
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!