From 2bee17081349cf675039d3368280e43cf88682e7 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 18 Jan 2016 14:23:21 +0530 Subject: [PATCH] fix identify dialog for books without isbn --- static/js/identifyDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/identifyDialog.js b/static/js/identifyDialog.js index 0745e3e..99c5fee 100644 --- a/static/js/identifyDialog.js +++ b/static/js/identifyDialog.js @@ -60,7 +60,7 @@ oml.ui.identifyDialog = function(data) { }), isbn: Ox.Input({ style: 'squared', - value: Ox.formatISBN(data.isbn, 13, true), + value: Ox.formatISBN(data.isbn || '', 13, true), width: 544 }) .bindEvent({