NetTalk Central

Author Topic: Pipe seperator in a filed tip no longer causing line breaks.  (Read 3692 times)

JPMacDonald

  • Full Member
  • ***
  • Posts: 106
    • View Profile
    • Email
Hi,

I'm not sure if this is a change in behavior in C9.1 or NT 8.16.
I use the tip feature in the calendar control to show summary information when the user hovers over the appointment. The entries in the tip (where, when, who type data) is separated by the pipe character which breaks the data into separate rows, now under 8.16 & C9.1 it is just one long string including the pipe character.

I will continue to look for the fix but if someone has the quick answer I'd appreciate hearing about it.

Regards

Parker

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Pipe seperator in a filed tip no longer causing line breaks.
« Reply #1 on: June 13, 2014, 07:17:45 AM »
I don't think there was ever code to turn a pipe into a <br/>, so I don't think it's changed.
But feel free to post a small example and I'll take a look.

cheers
Bruce

JPMacDonald

  • Full Member
  • ***
  • Posts: 106
    • View Profile
    • Email
Re: Pipe seperator in a filed tip no longer causing line breaks.
« Reply #2 on: June 13, 2014, 09:53:14 AM »
Hi Bruce,

The app is using the vtip.js plugin and I think that is what is translating the pipe to the <br />.

It looks like the planner control perhaps isn't getting the necessary class added to it in order for the vtip plugin to do its job, is that a possibility?

Regards

Parker

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Pipe seperator in a filed tip no longer causing line breaks.
« Reply #3 on: June 16, 2014, 05:59:03 AM »
perhaps tweak the example and post here Parker - that'll be the easiest way for me to confirm - or not...

JPMacDonald

  • Full Member
  • ***
  • Posts: 106
    • View Profile
    • Email
Re: Pipe seperator in a filed tip no longer causing line breaks.
« Reply #4 on: June 17, 2014, 04:41:19 AM »
Hi Bruce,

I compiled the Hot Dates example (web12) using NT 8.16 and C9.1 as is with no modifications.

If you select the Horizontal Week Planner menu option under Appointments you will see the blocks for the various appointments in the demo. If you hover over one of the blocks you will see that the Tip entry is broken up into 3 lines as it should be. Click on one of the appointment blocks to open the edit form and then just close it by clicking the Cancel button.

Now hover over one of the blocks again and you will see that it shows the Tip entry as one line with the pipe separator showing.

A second problem revealed itself during this test, when you have the edit form open the underlying resize bar on the right hand edge of the calendar is still active and can be used to drag and resize the calendar behind the form.

Regards

Parker

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Pipe seperator in a filed tip no longer causing line breaks.
« Reply #5 on: June 17, 2014, 11:24:00 PM »
thanks for the example. I've updated the vtip script for the 8.17 release which should take care of the problem.

cheers
Bruce