Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

Event not firing

Hi Yurii,

You won't be able to replicate as you need to log in as a user with messages. I can set this up for you but may be easier to explain in the picture I have put together below. The "(NEW)" is not showing after the Subject as you can see. I have also tried this function with same result.

if($(this).find("[name=lblMsgRead]").text()==='false'){
return value + '(NEW)';
}
else
{ return value;}

Image

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Event not firing

Aeneas,

Please follow these steps:

1 Delete these two links.

2 Add "read" link.

3 Add "subject" link.

4 Fill "subject" link with JS code you have now.

http://prntscr.com/3xv2bz/direct

Regards.

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

Event not firing

Sorry but that made no difference. Its still not adding the (NEW) after I changed the order of the links. Is there a way to refer to another json data field in the same(current) row when mapping?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Event not firing

Hi Aeneas.

We can help you.

But we need steps to reproduce your problem.

It's very hard to fix the problem when we can not reproduce it.

So please try to write steps to reproduce your problem. May be you need to add some workaround your server side. Or use "echo" in your REST service on Appery.io side.

Regards.

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

Event not firing

Hi Yurri,

I have written down the steps with my problem and sent it in the diagram so I'm not sure what else you want me to do. If I echo the contents of the Read field to the screen it always returns a blank and it should return a false.

If you create a collapsible same components and try and map the way I am doing do you get a different result?

Thanks,
Aeneas

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Event not firing

Hi Aeneas,

We need to reproduce your problem in your APP.

So we need to get your list with items.

As i told before currently we have this: http://prntscr.com/3xsein/direct

So please provide us Steps to get your list filled. Where we can see your problem.

Thanks.

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

Event not firing

To get to the messages for you to reproduce the problem I would need to add some messages for you into the database. The are you have highlighted in the picture is nothing to do with this issue.

I have found a workaround for this where I am showing the 'Read' label. Thanks for your help.

obullei
Posts: 0
Joined: Thu Jun 05, 2014 12:17 am

Event not firing

Hello!

You are welocme!

Return to “Issues”