Add right border on selected tree item.

This commit is contained in:
Aditya Toshniwal
2019-01-17 13:27:07 +05:30
committed by Akshay Joshi
parent c1aba3e055
commit f779378e8a
3 changed files with 9 additions and 13 deletions

View File

@@ -329,19 +329,8 @@ define('pgadmin.preferences', [
if (!d)
return true;
/* Bind events to enable clicking anywhere and not only text, button */
item.on('dblclick', function(e) {
e.preventDefault();
e.stopPropagation();
api.toggle(item);
});
item.on('click', function(e) {
e.preventDefault();
e.stopPropagation();
api.select(item);
});
// We will add the preferences in to the preferences data
// collection.
// We will add the preferences in to the preferences data
// collection.
if (d.preferences && _.isArray(d.preferences)) {
_.each(d.preferences, function(p) {
preferences.add({