integration/js/projet.js
author cavaliet
Thu, 06 Jun 2013 12:42:03 +0200
changeset 81 8e016726669b
parent 16 c66274d0d850
permissions -rw-r--r--
Merge with 5dfa74fcec4bd0e9e725e57c6473f07dbb0c1f8c

$(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 );
    });

});