/usr/share/civicrm/js/crm.addNew.js is in civicrm-common 4.7.1+dfsg-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | // 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();
}
});
|