Home Analyst Portal
Options

Title on the next line shows "NULL" when title not yet filled in.

Roelof_LuingeRoelof_Luinge Customer IT Monkey ✭

Hi, We are using a piece of custom code to show on the next line under the change number:

Yesterday we did the upgrade to Cireson Version 7.4

Now, when we create a new change request, we see NULL in the subtitle. After filling in the title an save the request, subtitle is showing the right stuff. But users are complaining about the NULL when creating a reqeust.:

I am sure this is a verry little change in the code (if not tilte, dont show) but I am no Java Dev.

So can somebody help me out?

Used code:

// Change Request, Add Title on the next Line
app.custom.formTasks.add('ChangeRequest', null, function (formObj, viewModel) {
    formObj.boundReady(function () {
  $("#statusname").after("<div style='color:black;font-size:0.7em;'>" + pageForm.viewModel.Title + "</div>");
 });
});


Kind Regards,


Roelof

Best Answer

Answers

  • Options
    Roelof_LuingeRoelof_Luinge Customer IT Monkey ✭
    Great! This does the job! Thxs
Sign In or Register to comment.