Compare commits

..

5 commits

Author SHA1 Message Date
j
3eb6e3f432 firefox osx has 0 now 2020-01-20 17:35:52 +01:00
j
34e479dcfc could be collection too 2020-01-17 23:33:40 +01:00
j
98219dd001 update sortable after changing sort 2019-11-17 15:18:16 +01:00
j
874b68c8a6 allow switching from text to password 2019-07-30 13:07:14 +02:00
j
88086fb5bd imdb can also be 8 digits 2019-07-23 16:15:51 +02:00
5 changed files with 8 additions and 3 deletions

View file

@ -47,7 +47,7 @@ Ox.SCROLLBAR_SIZE = Ox.UI.SCROLLBAR_SIZE = $.browser.webkit ? 8 : (function() {
width = 1 + width - (inner[0].offsetWidth == width
? outer[0].clientWidth : inner[0].offsetWidth);
outer.remove();
return width + width % 2;
return Math.max(width + width % 2, 8);
})();
//@ Ox.UI.PATH <str> Path of Ox UI

View file

@ -633,7 +633,7 @@ Ox.URL = function(options) {
: canBeLocation && length == 4 ? 'location'
// leaves us with [-]D[.D][,[-]D[.D]]
: canBeDuration ? 'duration'
: canBeDate && !/\./.test(str) && !/^\d{7}$/.test(str) ? 'date'
: canBeDate && !/\./.test(str) && !/^\d{7}$/.test(str) && !/^\d{8}$/.test(str) ? 'date'
: canBeLocation && length == 2 ? 'location'
: canBeNumber && /^\d+$/.test(str) ? 'number'
: canBeString && str.length ? 'string'

View file

@ -28,6 +28,7 @@ Ox.Filter = function(options, self) {
.defaults({
findKeys: [],
list: null,
listName: Ox._('Smart List'),
sortKeys: [],
value: {
conditions: [],
@ -174,7 +175,7 @@ Ox.Filter = function(options, self) {
})
],
separators: [
{title: Ox._('Save as Smart List'), width: 112}
{title: Ox._('Save as {0}', [self.options.listName]), width: 112}
]
});

View file

@ -143,6 +143,9 @@ Ox.Input = function(options, self) {
setPlaceholder();
} else if (key == 'readonly') {
self.$input.attr({readonly: value});
} else if (key == 'type') {
// jQuery does not allow update via attr({type: value}) due to IE 6 bug
self.$input[0].type = value
} else if (key == 'value') {
if (self.options.type == 'float' && self.options.decimals) {
self.options.value = self.options.value.toFixed(self.options.decimals);

View file

@ -287,6 +287,7 @@ Ox.ClipPanel = function(options, self) {
}];
updateSortElement();
that.triggerEvent('sort', self.options.sort);
self.$list.options({sortable: isSortable()});
}
});