view plugins/redmine_bibliography/assets/javascripts/new_publication.js @ 1389:641ec1b288a6 luisf

Added two new js scripts to initialize views (simulate clicks and adding events to buttons).
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 25 Sep 2013 17:43:16 +0100
parents
children b09744f35f76
line wrap: on
line source
// edit_publication.js

$(document).ready(function(){
    // adds the events to the edit/save authorship button
    $('.author_save_btn').live('click', disable_fields);
    $('.author_edit_btn').live('click', enable_fields);
});