/[drupal]/contributions/modules/imce/js/imce_set_app.js
ViewVC logotype

Diff of /contributions/modules/imce/js/imce_set_app.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3.2.8, Thu Jul 9 20:03:08 2009 UTC revision 1.3.2.9, Mon Sep 21 14:26:39 2009 UTC
# Line 1  Line 1 
1  // $Id: imce_set_app.js,v 1.3.2.7 2009/07/09 19:49:46 ufku Exp $  // $Id$
2  //When imce url contains &app=appName|fileProperty1@correspondingFieldId1|fileProperty2@correspondingFieldId2|...  //When imce url contains &app=appName|fileProperty1@correspondingFieldId1|fileProperty2@correspondingFieldId2|...
3  //the specified fields are filled with the specified properties of the selected file.  //the specified fields are filled with the specified properties of the selected file.
4    
# Line 18  imce.hooks.load.push(function(win) { Line 18  imce.hooks.load.push(function(win) {
18      appWindow[appFields['onload']](win);      appWindow[appFields['onload']](win);
19      delete appFields['onload'];      delete appFields['onload'];
20    }    }
21      //alternative sytax for some servers that ban URLs containing onload keyword.
22      else if (appFields['imceload'] && $.isFunction(appWindow[appFields['imceload']])) {
23        appWindow[appFields['imceload']](win);
24        delete appFields['imceload'];
25      }
26    //set custom sendto function. appFinish is the default.    //set custom sendto function. appFinish is the default.
27    var sendtoFunc = appFields['url'] ? appFinish : false;    var sendtoFunc = appFields['url'] ? appFinish : false;
28    //check sendto@funcName syntax in URL    //check sendto@funcName syntax in URL

Legend:
Removed from v.1.3.2.8  
changed lines
  Added in v.1.3.2.9

  ViewVC Help
Powered by ViewVC 1.1.2