Page 3 of 3
Event not firing
Posted: Sun Jun 29, 2014 11:08 pm
by Aeneas McBurney
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;}
Event not firing
Posted: Mon Jun 30, 2014 3:30 am
by Yurii Orishchuk
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.
Event not firing
Posted: Mon Jun 30, 2014 3:45 am
by Aeneas McBurney
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?
Event not firing
Posted: Tue Jul 01, 2014 1:27 am
by Yurii Orishchuk
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.
Event not firing
Posted: Tue Jul 01, 2014 1:54 am
by Aeneas McBurney
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
Event not firing
Posted: Wed Jul 02, 2014 2:32 am
by Yurii Orishchuk
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.
Event not firing
Posted: Wed Jul 02, 2014 3:48 am
by Aeneas McBurney
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.
Event not firing
Posted: Wed Jul 02, 2014 4:32 am
by obullei