update login popup in renkan edit page
authorrougeronj
Wed, 10 Dec 2014 11:36:24 +0100
changeset 385 b9fa11411e13
parent 384 83adb3fd0efd
child 386 2ace68d1429b
update login popup in renkan edit page
src/hdalab/templates/renkan_edit.html
--- a/src/hdalab/templates/renkan_edit.html	Wed Dec 10 11:34:54 2014 +0100
+++ b/src/hdalab/templates/renkan_edit.html	Wed Dec 10 11:36:24 2014 +0100
@@ -82,9 +82,14 @@
 
                 dialog = $( "#dialog-form" ).dialog({
                     autoOpen: false,
-                    height: 300,
-                    width: 350,
-                    modal: true
+                    height: 398,
+                    width: 520,
+                    modal: true,
+                    create: function (event, ui) {
+                    	$("#login-popup-close").click(function(){
+			    			dialog.dialog("close");
+			            });
+                    }
                 });            
                 
                 function manageLoginForm(e, form){