Refactoring forms tip
This commit is contained in:
parent
20904787e2
commit
594d596619
|
@ -372,16 +372,15 @@ define([
|
||||||
placement: 'bottom-right',
|
placement: 'bottom-right',
|
||||||
target: target,
|
target: target,
|
||||||
text: this.view.textCreateForm,
|
text: this.view.textCreateForm,
|
||||||
showLink: true
|
showLink: false,
|
||||||
closable: false,
|
closable: false,
|
||||||
|
showButton: true,
|
||||||
|
textButton: this.view.textGotIt
|
||||||
});
|
});
|
||||||
tip.on({
|
tip.on({
|
||||||
'dontshowclick': function() {
|
'buttonclick': function() {
|
||||||
Common.localStorage.setItem("de-hide-createform-tip", 1);
|
Common.localStorage.setItem("de-hide-createform-tip", 1);
|
||||||
tip.close();
|
tip.close();
|
||||||
},
|
|
||||||
'closeclick': function() {
|
|
||||||
tip.close();
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
tip.show();
|
tip.show();
|
||||||
|
|
|
@ -432,7 +432,8 @@ define([
|
||||||
capBtnSaveForm: 'Save as a Form',
|
capBtnSaveForm: 'Save as a Form',
|
||||||
tipSaveForm: 'Save a file as a fillable OFORM document',
|
tipSaveForm: 'Save a file as a fillable OFORM document',
|
||||||
txtUntitled: 'Untitled',
|
txtUntitled: 'Untitled',
|
||||||
textCreateForm: 'Add fields and create a fillable OFORM document'
|
textCreateForm: 'Add fields and create a fillable OFORM document',
|
||||||
|
textGotIt: 'Got it'
|
||||||
}
|
}
|
||||||
}()), DE.Views.FormsTab || {}));
|
}()), DE.Views.FormsTab || {}));
|
||||||
});
|
});
|
|
@ -1830,6 +1830,7 @@
|
||||||
"DE.Views.FormsTab.tipViewForm": "View form",
|
"DE.Views.FormsTab.tipViewForm": "View form",
|
||||||
"DE.Views.FormsTab.txtUntitled": "Untitled",
|
"DE.Views.FormsTab.txtUntitled": "Untitled",
|
||||||
"DE.Views.FormsTab.textCreateForm": "Add fields and create a fillable OFORM document",
|
"DE.Views.FormsTab.textCreateForm": "Add fields and create a fillable OFORM document",
|
||||||
|
"DE.Views.FormsTab.textGotIt": "Got it",
|
||||||
"DE.Views.HeaderFooterSettings.textBottomCenter": "Bottom center",
|
"DE.Views.HeaderFooterSettings.textBottomCenter": "Bottom center",
|
||||||
"DE.Views.HeaderFooterSettings.textBottomLeft": "Bottom left",
|
"DE.Views.HeaderFooterSettings.textBottomLeft": "Bottom left",
|
||||||
"DE.Views.HeaderFooterSettings.textBottomPage": "Bottom of Page",
|
"DE.Views.HeaderFooterSettings.textBottomPage": "Bottom of Page",
|
||||||
|
|
Loading…
Reference in a new issue