From 3f19f4cec0e00a085be86aa40aebd56f18507ffb Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 11 May 2012 12:40:57 +0200 Subject: [PATCH] MINOR Removing special case handling for chosen.js from UploadField, using generic change listener (incl. some iframe scoping fixes) --- javascript/UploadField.js | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/javascript/UploadField.js b/javascript/UploadField.js index 7f244f79b..576392392 100644 --- a/javascript/UploadField.js +++ b/javascript/UploadField.js @@ -287,27 +287,18 @@ var editform = this.closest('.ss-uploadfield-item').find('.ss-uploadfield-item-editform'); var disabled; var iframe = editform.find('iframe'); - var inputs = iframe.contents().find('.ss-uploadfield-edit-iframe input'); - var ulSelects =iframe.contents().find('.ss-uploadfield-edit-iframe .chzn-drop ul.chzn-results'); - - for(var i=0;i