Created
August 21, 2015 01:42
-
-
Save muskie9/a7f0d8de786cc6c8c13f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($) { | |
var clonePriorTimes = function (button) { | |
var toCopy = button.attr('name'); | |
console.log(toCopy); | |
}; | |
$('.cms-edit-form .field.can-copy .ui-button').entwine({ | |
onclick: function () { | |
clonePriorTimes(this); | |
this._super(); | |
} | |
}); | |
})(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment