cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-02-08 03:01:44 +03:00
parent 9e46e7dbab
commit 018f4aafd0
3 changed files with 5 additions and 7 deletions

View File

@ -739,7 +739,7 @@ var URLHistoryUIActions = actions.Actions({
['<span class="show-on-hover">&#8599;</span>',
function(p){ dialog.browsePath(p) }],
// XXX should the normal items have a "to top" button???
'TO_TOP',
['&diams;', 'TO_TOP'],
'PIN',
'REMOVE',
],

View File

@ -1721,10 +1721,6 @@ var WidgetTestActions = actions.Actions({
make.EditablePinnedList(letters, pins, {
list_id: 'letters',
//pins_sortable: false,
buttons: [
'UP',
'TO_BOTTOM',
],
})
// NOTE: the dialog's .parent is not yet set at this point...

View File

@ -597,9 +597,11 @@ function(data, options){
// // will get removed.
// // NOTE: if button is enabled but no placeholder is preset
// // it will be appended to the button list.
// // NOTE: special buttons can be set in one of two formats,
// // see UP for an example...
// //
// // Up...
// 'UP',
// 'UP' | ['html', 'UP'],
// // Down...
// 'DOWN',
// // Move to top...
@ -607,7 +609,7 @@ function(data, options){
// // Move to bottom...
// 'TO_BOTTOM'
// // Remove item...
// 'REMOVE'
// 'REMOVE',
//
// // See: itemButtons doc in browse.js for more info...
// ..