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