Skip to content

Commit

Permalink
Merge pull request #282 from truonglocbinh/test-view
Browse files Browse the repository at this point in the history
show delete link popup event
  • Loading branch information
dieunb committed Feb 2, 2016
2 parents 87178ca + 232abe6 commit c759e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/calendar/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ $(document).ready(function() {
var eventPath = "schedules/" + calEvent.id;
var editEventPath = eventPath + "/edit";

if (calEvent.user_id === current_user_id) {
if (calEvent.user.id === current_user_id) {
var text, url;
date = new Date();

Expand Down

0 comments on commit c759e88

Please sign in to comment.