|
|
|
@ -175,9 +175,14 @@ if (EXPO.profile){ |
|
|
|
* @param data -data object recieved from server |
|
|
|
* @param data -data object recieved from server |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
this.pullHandler = function (data) { |
|
|
|
this.pullHandler = function (data) { |
|
|
|
|
|
|
|
var staticText, |
|
|
|
|
|
|
|
work_fieldValue = $.trim($('#s2id_id_company').text()); |
|
|
|
if (data.success){ |
|
|
|
if (data.success){ |
|
|
|
$('#static-work-value').text($('#id_position').val()); |
|
|
|
staticText = $('#id_position').val(); |
|
|
|
|
|
|
|
if(work_fieldValue != ''){ |
|
|
|
|
|
|
|
staticText += ' '+ EXPO.profile.opt.lang.workIn + ' '+work_fieldValue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
$('#static-work-value').text(staticText); |
|
|
|
$('.p-editable').removeClass('pe-current'); |
|
|
|
$('.p-editable').removeClass('pe-current'); |
|
|
|
this.refreshState(); |
|
|
|
this.refreshState(); |
|
|
|
|
|
|
|
|
|
|
|
@ -199,7 +204,6 @@ if (EXPO.profile){ |
|
|
|
$('.p-editable').removeClass('pe-current'); |
|
|
|
$('.p-editable').removeClass('pe-current'); |
|
|
|
this.refreshState(); |
|
|
|
this.refreshState(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
this.ajaxPath = path; |
|
|
|
this.ajaxPath = path; |
|
|
|
@ -374,7 +378,7 @@ if (EXPO.profile){ |
|
|
|
//инициализация общих свойств
|
|
|
|
//инициализация общих свойств
|
|
|
|
that.init = function(options) { |
|
|
|
that.init = function(options) { |
|
|
|
$.extend(this.lang, options.lang); |
|
|
|
$.extend(this.lang, options.lang); |
|
|
|
options.lang = null; |
|
|
|
//options.lang = null;
|
|
|
|
$.extend(this.opt, options); |
|
|
|
$.extend(this.opt, options); |
|
|
|
|
|
|
|
|
|
|
|
var self = this, |
|
|
|
var self = this, |
|
|
|
|