integration/js/projet.js
author cavaliet
Fri, 24 May 2013 12:00:18 +0200
changeset 31 11c8b3318486
parent 16 c66274d0d850
permissions -rw-r--r--
Merge with ec6a5592c617a0abd3e75791952ce5dceab276c6

$(function(){

    $('body').on('click focus', 'input[readonly]', function(e){
        $(this).select();
    });

//ZeroClipboard (fonctionne sous localhost)
    var clip = new ZeroClipboard( $('.clipboard'), {
      moviePath: ZeroClipboardMoviePath
    });
    clip.on( 'complete', function(client, args) {
      alert("Copied text to clipboard: " + args.text );
    });

});