Change context element IDs to use underscore instead of just the c prefix

This commit is contained in:
Jyri-Petteri Paloposki 2019-05-22 01:28:50 +03:00
parent 9c28bc737c
commit 1e0f1bd611
3 changed files with 3 additions and 3 deletions

View file

@ -644,7 +644,7 @@ var ContextListPage = {
}
},
save_context_name: function(value, settings) {
var context_id = $(this).parents('.container.context').get(0).id.split('c')[1];
var context_id = $(this).parents('.container.context').get(0).id.split('_')[1];
var highlight = function(){
$('div.context span#context_name').effect('highlight', {}, 500);
};