r13403 - MoreFieldsAndWidgets/archetypes.referencebrowserwidget/trunk/src/archetypes/referencebrowserwidget/skins/referencebrowser

"Carsten Senger" <[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.cvs
Message-ID <[email protected]>
Author: csenger
Date: Mon Jan 10 00:26:01 2011
New Revision: 13403

Modified:
   MoreFieldsAndWidgets/archetypes.referencebrowserwidget/trunk/src/archetypes/referencebrowserwidget/skins/referencebrowser/referencebrowser.js
Log:
cleanup last commit


Modified: MoreFieldsAndWidgets/archetypes.referencebrowserwidget/trunk/src/archetypes/referencebrowserwidget/skins/referencebrowser/referencebrowser.js
==============================================================================
--- MoreFieldsAndWidgets/archetypes.referencebrowserwidget/trunk/src/archetypes/referencebrowserwidget/skins/referencebrowser/referencebrowser.js	(original)
+++ MoreFieldsAndWidgets/archetypes.referencebrowserwidget/trunk/src/archetypes/referencebrowserwidget/skins/referencebrowser/referencebrowser.js	Mon Jan 10 00:26:01 2011
@@ -200,10 +200,13 @@
 }
 
 
+// remove the item for the uid from the reference widget
 function refbrowser_delReference(widget_id, uid) {
-    jq('#' + widget_id + ' input[value="' + uid + '"]').closest('li').remove()
+    var input= jq('#' + widget_id + ' input[value="' + uid + '"]');
+    input.closest('li').remove();
 }
 
+
 // function to clear the reference field or remove items
 // from the multivalued reference list.
 function refbrowser_removeReference(widget_id, multi)
@@ -357,6 +360,6 @@
                                                      oldhistory.html());
         ov = jq('div#content').data('overlay');
         widget_id = ov.getTrigger().attr('rel').substring(6);
-//        disablecurrentrelations(widget_id);
+        disablecurrentrelations(widget_id);
         });
 }

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.