Você pode melhorar isso trocando o bind das suas funções js.
Procure sobre o "on" do jquery.
Basicamente ao invés de usar
$('#obj').click(function(){...}); vc vai usar
$(document).on('click', '#obj', function(){...});
--
--
Você recebeu essa mensagem porquê está inscrito no Google
Groups "rails-br".
Para enviar uma mensagem para o grupo, mande um email para rail...@googlegroups.com
Para se descadastrar, mande um e-mail para
rails-br+u...@googlegroups.com
Visite o grupo em http://groups.google.com/group/rails-br?hl=pt-BR
Leia nossa política de uso: http://goo.gl/YGgt7
---
Você recebeu essa mensagem porque está inscrito no grupo "rails-br" dos Grupos do Google.
Para cancelar inscrição nesse grupo e parar de receber e-mails dele, envie um e-mail para rails-br+u...@googlegroups.com.
Para mais opções, acesse https://groups.google.com/d/optout.

selector is provided, the event handler is referred to as delegated. The handler is not called when the event occurs directly on the bound element, but only for descendants (inner elements) that match the selector. jQuery bubbles the event from the event target up to the element where the handler is attached (i.e., innermost to outermost element) and runs the handler for any elements along that path matching the selector.$('body').on('click', '[data-ma-action]', function (e) { e.preventDefault(); var $this = $(this); var action = $(this).data('ma-action'); switch (action) { ...
<li class="hi-trigger ma-trigger" data-ma-action="sidebar-open" data-ma-target="#sidebar">
$(document).on('click', 'body', '[data-ma-action]', function (e) {

$(".date-picker").initialize(function () { $(this).datetimepicker({ format: 'DD/MM/YYYY', locale: 'pt-BR' }); });
