From 981ca0216f7a6e8e7d6ee10444d1c6e0385654fd Mon Sep 17 00:00:00 2001 From: Christian Glatthard Date: Sun, 30 Aug 2015 17:25:06 +0200 Subject: [PATCH] deselect all before setting preselected container --- ipynbsrv/web/templates/web/images/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/ipynbsrv/web/templates/web/images/index.html b/ipynbsrv/web/templates/web/images/index.html index 47dd449..22b7bde 100644 --- a/ipynbsrv/web/templates/web/images/index.html +++ b/ipynbsrv/web/templates/web/images/index.html @@ -75,6 +75,7 @@

Images {{ request.share }}

{% if request.share %} $('#modal-create-image').modal('show'); + $('#modal-create-image #ct_select').multiselect('deselectAll'); $('#modal-create-image #ct_select').multiselect('select', {{ request.ct }} ); {% endif %}