[SE mobile] Fix bug 33994

This commit is contained in:
Alexander Yuzhin 2017-03-10 12:09:58 +03:00
parent c3f3da85ad
commit 6316725cdf

View file

@ -215,6 +215,16 @@ define([
})
);
var $view = $('.settings');
if ($view.length > 0) {
$view.find('#add-link-sheet select').html(
_.template(tpl, {
worksheets: sheets
})
);
}
var active = _.findWhere(sheets, {active:true});
if ( active )
this.setActiveWorksheet(active.value, active.caption);