[Fixed Position] Begin adding placeholder toolbar

Begin adding placeholder toolbar for fixed position view,
WTD-879.
This commit is contained in:
Victor Woeltjen
2015-02-17 16:29:42 -08:00
parent db2f2eb098
commit 7a680873e3
2 changed files with 11 additions and 2 deletions

View File

@ -25,8 +25,9 @@
{ {
"items": [ "items": [
{ {
"property": "add", "method": "add",
"control": "button" "control": "button",
"text": "Add"
} }
] ]
}, },

View File

@ -194,6 +194,14 @@ define(
// Initialize styles (position etc.) for cells // Initialize styles (position etc.) for cells
refreshCellStyles(); refreshCellStyles();
if (Array.isArray($scope.selection)) {
$scope.selection.push({
add: function () {
window.alert("Placeholder; not yet implemented");
}
});
}
return { return {
/** /**
* Get styles for all background cells, as will populate the * Get styles for all background cells, as will populate the