removing groups popup from js file
authorrougeronj
Tue, 16 Oct 2012 17:26:49 +0200
changeset 881 214e220dfab9
parent 880 05b224ff82e8
child 882 9520fb2810e2
removing groups popup from js file
src/ldt/ldt/static/ldt/js/projectscontents.js
--- a/src/ldt/ldt/static/ldt/js/projectscontents.js	Tue Oct 16 17:24:01 2012 +0200
+++ b/src/ldt/ldt/static/ldt/js/projectscontents.js	Tue Oct 16 17:26:49 2012 +0200
@@ -358,35 +358,6 @@
     $('.create_group',base_node).each(function(i){
         $(this).attr("target","_iri");
     });
-
-    $('.create_group',base_node).nyroModal({
-        filters: ['iriIframe'],
-        sizes: {
-            minW: '750',
-            minH: '750'
-        },
-        showCloseButton: true,
-        closeOnEscape:false,
-        closeOnClick:false,
-        callbacks: {
-            afterShowCont: function(nm) {
-                var iframe = nm.store.iframe;
-                iframe.load(function(){
-                    var form_status = $(this).contents().find("#project_form_status").val(); 
-                    if(form_status === 'saved' || form_status === 'deleted' ) {
-                        $.nmTop().close();
-                    }
-                        
-                });  
-                nm.store.iframe.width(740);
-                nm.store.iframe.height(740);
-            },
-            afterClose: function(nm) {
-            	searchCallback($("#searchprojectsinput"), $("#groupslistcontainer"), groupfilterurl, 0);
-            }
-        }
-    });
-    
     
     $('.create_group',base_node).each(function(i, e) {
         nm = $(e).data('nmObj');