[Vtigercrm-commits] [Vtiger development] #8477: In app.js could we have a getRecordId() function to return the crmid.

Vtiger development vtiger-tickets at trac.vtiger.com
Wed May 27 11:09:20 GMT 2015


#8477: In app.js could we have a getRecordId() function to return the crmid.
-------------------------+-----------------------
 Reporter:  uma          |       Owner:  uma
     Type:  enhancement  |      Status:  reopened
 Priority:  minor        |   Milestone:  6.3.0
Component:  vtigercrm    |     Version:  6.2.0
 Severity:  Medium       |  Resolution:
 Keywords:               |
-------------------------+-----------------------
Changes (by alanlord):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Your function will only work in EditView.

 In DetailView the record number is stored in acompletely differently named
 hidden input:

 <input type="hidden" value="4878" id="recordId">

 It would be nice if _you_ could be consistent...

 In EditView it's got a *name* of "record"
 In DetailView it's got an *id* of "recordId"

--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8477#comment:4>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM


More information about the vtigercrm-commits mailing list