format ISBNs with dashes

This commit is contained in:
rlx 2016-01-16 20:35:17 +05:30
commit 846eb7f3f3
2 changed files with 4 additions and 3 deletions

View file

@ -625,8 +625,8 @@ oml.ui.infoView = function(externalData, isMixed) {
editable: isEditable,
format: function(value) {
return (value ? [
Ox.formatISBN(value, 13),
Ox.formatISBN(value, 10)
Ox.formatISBN(value, 13, true),
Ox.formatISBN(value, 10, true)
] : []).join(separator);
},
placeholder: formatLight(Ox._(