Pgp improvements

This commit is contained in:
RainLoop Team 2015-07-29 21:21:24 +04:00
parent 3849fd02b4
commit 5123841540
18 changed files with 397 additions and 80 deletions

View file

@ -7,6 +7,7 @@
_ = require('_'),
Utils = require('Common/Utils'),
Translator = require('Common/Translator'),
AbstractInput = require('Component/AbstractInput')
;
@ -26,6 +27,12 @@
this.optionsText = oParams.optionsText || null;
this.optionsValue = oParams.optionsValue || null;
this.optionsCaption = oParams.optionsCaption || null;
if (this.optionsCaption)
{
this.optionsCaption = Translator.i18n(this.optionsCaption);
}
this.defautOptionsAfterRender = Utils.defautOptionsAfterRender;
}