This strikes me as a bug since the behaviour is incredibly consistent, but perhaps someone here can help me.

I want to use the google developed calendar app as my main calendar app. My phone (a Galaxy S2) came with a samsung developed calendar app (both very conveniently named "Calendar"). At this point, I simply want to disable the samsung calendar app from displaying any sort of notifications (since the google app also displays notifications and I want to use that app).

I have been able to do this by going to settings->Notifications in the samsung app and toggling to "Off".

However, as soon as I restart the device, the notifications are back on their original settings. Anyone else experience this? Anyone know how to make the settings stick?

EDIT: I notice the notification settings of the google developed app (sound, default reminder time, popup) are also not sticking after reboot. Is my device broken? It seems to only be for calendar. Gmail and other apps hold their settings fine.

EDIT 2: Ok, so disabling the samsung app allows my google app calendar settings to stick after reboot. So looks like that is what I will be doing. Anyone know how I can change the vcs file association to this app now?


Question: Stop JS-event propagation on table row click
Answer: Modifying buttons behaviour, expecially in frameworks, can cause some unexpected issues. You could add a flag to the row and use it to check if the button should be clicked. But you have to know how many click are automatically generated and should be omitted.

var handleClick = function(e) {
  var $button = $(this).find('button');  
  console.log('triggerring click on...', $button);
  if (this.clicked !== true) {
    console.log('and clicked!')
    this.clicked = true;
    $button.trigger('click');
  } else
    this.clicked = false;
};


Here's the code: http://codepen.io/anon/pen/dJroL