mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
18 lines
307 B
JavaScript
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);
|
||
|
}
|
||
|
|
||
|
});
|
||
|
});
|
||
|
});
|