drupal-civicrm/sites/all/modules/civicrm/js/crm.addNew.js

9 lines
245 B
JavaScript
Raw Permalink Normal View History

2018-01-14 15:10:16 +02:00
// http://civicrm.org/licensing
// Opens the "new item" dialog after creating a container/set
CRM.$(function($) {
var emptyMsg = $('.crm-empty-table');
if (emptyMsg.length) {
$('.action-link a.button', '#crm-container').click();
}
});