Merge pull request #17118 from lcdservices/dev-core-1722
[civicrm-core.git] / js / crm.addNew.js
1 // http://civicrm.org/licensing
2 // Opens the "new item" dialog after creating a container/set
3 CRM.$(function($) {
4 var emptyMsg = $('.crm-empty-table');
5 if (emptyMsg.length) {
6 $('.action-link a.button', '#crm-container').click();
7 }
8 });