Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($('.copyaddress a').length > 0) {
- $('.copyaddress a').zclip({
- path: "http://toronto.goldenmaids.ca/plugins/ZeroClipboard.swf",
- copy: function () {
- var i = 0;
- var ccopy = $('.copyscont a');
- $('.connectedSortable li').each(function () {
- $(ccopy[i]).data('id', $(this).data('id'));
- i++;
- });
- return $('#addresset_' + $(this).data('id') + ' .name_addr').text()
- },
- afterCopy: function () {
- $that = $(this);
- $that.text('Copied');
- $('#addresset_' + $($that).data('id') + ' .name_addr').hide();
- $('#addresset_' + $($that).data('id') + ' .name_addr').show('highlight');
- setTimeout(function () {
- $that.text('Copy');
- }, 300);
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement