if in developer mode, show fieldname on hover of label
This commit is contained in:
parent
01b5a77d9b
commit
a86c1972a4
1 changed files with 4 additions and 1 deletions
|
|
@ -57,7 +57,10 @@ Field.prototype.make_body = function() {
|
|||
|
||||
// label
|
||||
if(this.with_label) {
|
||||
this.label_span = $a(this.label_area, 'span', 'small')
|
||||
this.label_span = $a(this.label_area, 'span', 'small');
|
||||
|
||||
if(wn.boot && wn.boot.developer_mode)
|
||||
$(this.label_span).attr("title", this.df.fieldname);
|
||||
|
||||
// error icon
|
||||
this.label_icon = $('<i class="icon icon-warning-sign">').toggle(false)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue