backend-plus 2.7.4 → 2.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1379,7 +1379,7 @@ myOwn.TableGrid.prototype.prepareMenu = function prepareMenu(button){
1379
1379
  grid.dom.table.parentNode.setAttribute('show-inherited-keys', grid.view.showInheritedKeys?'yes':'no');
1380
1380
  return Promise.resolve(true);
1381
1381
  }});
1382
- menuOptions.push({img:my.path.img+'show-hide-columns.png', value:true, label: my.messages.hideOrShow, doneFun:function(){
1382
+ menuOptions.push({img:my.path.img+'show-hide-columns.png', value:true, id:'menu-hide-or-show', label: my.messages.hideOrShow, doneFun:function(){
1383
1383
  dialogPromise(function(dialogWindow, closeWindow){
1384
1384
  var button=html.button({class:'hide-or-show'},'ok').create();
1385
1385
  var createSelectElement=function createSelectElement(columns,hideOrShowId,disabledItems){
@@ -2240,6 +2240,8 @@ myOwn.TableGrid.prototype.prepareGrid = function prepareGrid(){
2240
2240
  })
2241
2241
  ]).create();
2242
2242
  grid.dom.buttonInsert=buttonInsert;
2243
+ // hidden until displayBody shows it (when depots are loaded and all rows are displayed)
2244
+ buttonInsert.style.visibility='hidden';
2243
2245
  buttonInsert.addEventListener('click', function(){
2244
2246
  var tr=grid.createRowInsertElements();
2245
2247
  });
@@ -2294,7 +2296,7 @@ myOwn.TableGrid.prototype.prepareGrid = function prepareGrid(){
2294
2296
  grid.dom.table.setAttribute("my-orientation",grid.vertical?'vertical':'horizontal');
2295
2297
  });
2296
2298
  }
2297
- buttonMenu=html.button({class:'table-button', "skip-enter":true}, [
2299
+ buttonMenu=html.button({class:'table-button', "skip-enter":true, "bp-action":"MENU"}, [
2298
2300
  html.img({
2299
2301
  src:my.path.img+'menu-dots.png',
2300
2302
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "backend-plus",
3
3
  "description": "Backend for the anti Pareto rule",
4
- "version": "2.7.4",
4
+ "version": "2.7.6",
5
5
  "author": "Codenautas <codenautas@googlegroups.com>",
6
6
  "license": "MIT",
7
7
  "repository": "codenautas/backend-plus",