/[openfoncier]/trunk/app/js/script.js
ViewVC logotype

Diff of /trunk/app/js/script.js

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

revision 800 by nhaye, Wed Nov 21 18:16:39 2012 UTC revision 801 by nhaye, Wed Nov 21 18:27:16 2012 UTC
# Line 221  jQuery.download = function(url, data, me Line 221  jQuery.download = function(url, data, me
221   *   *
222   * @param objsf string : objet de sousformulaire   * @param objsf string : objet de sousformulaire
223   * @param link string : lien vers un sousformulaire (../scr/sousform.php...)   * @param link string : lien vers un sousformulaire (../scr/sousform.php...)
224     * @param width integer: width en px
225     * @param height integer: height en px
226   * @param callback function (optionel) : nom de la méthode à appeler   * @param callback function (optionel) : nom de la méthode à appeler
227   *                                       à la fermeture du dialog   *                                       à la fermeture du dialog
228   * @param callbackParams mixed (optionel) : paramètre à traiter dans la function   * @param callbackParams mixed (optionel) : paramètre à traiter dans la function
229   *                                          callback   *                                          callback
230   *   *
231   **/   **/
232  function popupIt(objsf, link, callback, callbackParams) {  function popupIt(objsf, link, width, height, callback, callbackParams) {
233      // Insertion du conteneur du dialog      // Insertion du conteneur du dialog
234      var dialog = $('<div id=\"sousform-'+objsf+'\"></div>').insertAfter('.formControls');      var dialog = $('<div id=\"sousform-'+objsf+'\"></div>').insertAfter('.formControls');
235      $('<input type=\"text\" name=\"recherchedyn\" id=\"recherchedyn\" value=\"\" class=\"champFormulaire\" style=\"display:none\" />').insertAfter('#sousform-'+objsf);      $('<input type=\"text\" name=\"recherchedyn\" id=\"recherchedyn\" value=\"\" class=\"champFormulaire\" style=\"display:none\" />').insertAfter('#sousform-'+objsf);
# Line 258  function popupIt(objsf, link, callback, Line 260  function popupIt(objsf, link, callback,
260              },              },
261              resizable: false,              resizable: false,
262              modal: true,              modal: true,
263              width: 700,              width: width,
264              height: 520,              height: height,
265            });            });
266          },          },
267          async : false          async : false

Legend:
Removed from v.800  
changed lines
  Added in v.801

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26