Yii Framework Forum: How To Prevent Duplicate Event Allocation In Wdcalendar Jquery Plugin - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How To Prevent Duplicate Event Allocation In Wdcalendar Jquery Plugin Rate Topic: -----

#1 User is offline   Absar A Hasan 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 39
  • Joined: 23-November 13
  • Location:Pune, India

Posted 21 April 2014 - 02:49 AM

How To Prevent Duplicate Event Allocation In Wdcalendar Jquery Plugin?

Problem is as follows:
Suppose I have created event1 for the day 18th April 2014 from 1:00 to 2:30, now I clicked on header of that day column to book for whole day then it gets booked but it should not be, because event1 has been already scheduled so how can we validate for the same ???

Attached File(s)

  • Attached File  cal.JPG (43.28K)
    Number of downloads: 5

0

#2 User is offline   Balaji S 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 16
  • Joined: 19-April 14

Posted 25 June 2014 - 12:05 AM

View PostAbsar A Hasan, on 21 April 2014 - 02:49 AM, said:

How To Prevent Duplicate Event Allocation In Wdcalendar Jquery Plugin?

Problem is as follows:
Suppose I have created event1 for the day 18th April 2014 from 1:00 to 2:30, now I clicked on header of that day column to book for whole day then it gets booked but it should not be, because event1 has been already scheduled so how can we validate for the same ???



try this

$("#showreflashbtn").click(function(e){
$("#gridcontainer").empty();
$("#gridcontainer").reload();
$('.filterevents').removeClass('fcurrent');

});
0

#3 User is offline   Absar A Hasan 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 39
  • Joined: 23-November 13
  • Location:Pune, India

Posted 25 June 2014 - 03:07 AM

View PostBalaji S, on 25 June 2014 - 12:05 AM, said:

try this

$("#showreflashbtn").click(function(e){
$("#gridcontainer").empty();
$("#gridcontainer").reload();
$('.filterevents').removeClass('fcurrent');

});


Thanks for reply, I resolved it from back end response
0

#4 User is offline   Balaji S 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 16
  • Joined: 19-April 14

Posted 26 June 2014 - 02:26 AM

View PostAbsar A Hasan, on 25 June 2014 - 03:07 AM, said:

Thanks for reply, I resolved it from back end response



hey friend may i know how u solve this , because , still im getting the duplicate entries on refresh , previous , back button click
0

#5 User is offline   Absar A Hasan 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 39
  • Joined: 23-November 13
  • Location:Pune, India

Posted 26 June 2014 - 05:10 AM

View PostBalaji S, on 26 June 2014 - 02:26 AM, said:

hey friend may i know how u solve this , because , still im getting the duplicate entries on refresh , previous , back button click


I made changes in my back end php file datafeed.php, in this two functions named addCalendar, addCalendarDetails here I checked for existing event and return false if found with appropreate message.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users