silverstripe-dms/javascript/DMSDocumentCMSFields.js
2012-07-31 18:17:08 +12:00

18 lines
307 B
JavaScript

(function($) {
$.entwine('ss', function($) {
$('.ui-state-success-text').entwine({
onmatch: function() {
var form = this.closest('.cms-edit-form');
console.log(form);
},
onunmatch: function() {
var form = this.closest('.cms-edit-form');
console.log(form);
}
});
});
});