html/modules/pong-on-the-fly/pong-on-the-fly.js
function pongOnTheFlyCreModalFromMeta(id, modalName, resourceURL) {
  log( "PoNG-OnTheFly", "Create modal view content " + resourceURL );
  if ( !modalName ) {
    modalName = "OnTheFly";
  }

  if ( resourceURL ) {
    log( "PoNG-OnTheFly", "Get JSON for " + id );
    // var jsonCfg = pongOnTheFlyFindSubJSON( layoutOrig, "", sessionInfo[
    // id+"OnTheFly" ].resID );
    var editName = id + modalName + 'DialogConfig';
    var tmplName = id + modalName + 'DialogAssist';
    
    log( "PoNG-OnTheFly", "Add JSON to #" + id + modalName + "Dialog" );
    $( '#' + id + modalName + 'Dialog' ).html(
      '<form>'
      +'<label for="' +editName+ '">View Configuration Editor:</label>'
      +'<textarea id="' +editName+ '" class="OnTheFly-ConfField"/>'
      +'<label for="' +tmplName + '">Config Copy-Paste Template</label>'
      +'<textarea id="' +tmplName+ '" class="OnTheFly-AssistField"/>'
      +'</form>' );
    $( '#' + id + modalName + 'DialogConfig' ).val(
        $.i18n( 'Could not load configuration from' )
          + ' "' + resourceURL + '"' );
    $( '#' + id + modalName + 'DialogAssist' ).val(
        $.i18n( 'No help available.' ) );
  } else {
    log( "PoNG-OnTheFly", "WARNING: Configuration issue!" );
  }
  log( "PoNG-OnTheFly", "Done." );
}
function pongOnTheFlyCreModalFromMeta(id, modalName, resourceURL) {
  log( "PoNG-OnTheFly", "Create modal view content " + resourceURL );
  if ( !modalName ) {
    modalName = "OnTheFly";
  }

  if ( resourceURL ) {
    log( "PoNG-OnTheFly", "Get JSON for " + id );
    // var jsonCfg = pongOnTheFlyFindSubJSON( layoutOrig, "", sessionInfo[
    // id+"OnTheFly" ].resID );
    var editName = id + modalName + 'DialogConfig';
    var tmplName = id + modalName + 'DialogAssist';
    
    log( "PoNG-OnTheFly", "Add JSON to #" + id + modalName + "Dialog" );
    $( '#' + id + modalName + 'Dialog' ).html(
      '<form>'
      +'<label for="' +editName+ '">View Configuration Editor:</label>'
      +'<textarea id="' +editName+ '" class="OnTheFly-ConfField"/>'
      +'<label for="' +tmplName + '">Config Copy-Paste Template</label>'
      +'<textarea id="' +tmplName+ '" class="OnTheFly-AssistField"/>'
      +'</form>' );
    $( '#' + id + modalName + 'DialogConfig' ).val(
        $.i18n( 'Could not load configuration from' )
          + ' "' + resourceURL + '"' );
    $( '#' + id + modalName + 'DialogAssist' ).val(
        $.i18n( 'No help available.' ) );
  } else {
    log( "PoNG-OnTheFly", "WARNING: Configuration issue!" );
  }
  log( "PoNG-OnTheFly", "Done." );
}
function pongOnTheFlyCreModalFromMeta ( id , modalName , resourceURL ) { log ( "PoNG-OnTheFly" , "Create modal view content " + resourceURL ) ; if ( ! modalName ) { modalName = "OnTheFly" ; } if ( resourceURL ) { log ( "PoNG-OnTheFly" , "Get JSON for " + id ) ; // var jsonCfg = pongOnTheFlyFindSubJSON( layoutOrig, "", sessionInfo[ // id+"OnTheFly" ].resID ); var editName = id + modalName + 'DialogConfig' ; var tmplName = id + modalName + 'DialogAssist' ; log ( "PoNG-OnTheFly" , "Add JSON to #" + id + modalName + "Dialog" ) ; $ ( '#' + id + modalName + 'Dialog' ) . html ( '<form>' + '<label for="' + editName + '">View Configuration Editor:</label>' + '<textarea id="' + editName + '" class="OnTheFly-ConfField"/>' + '<label for="' + tmplName + '">Config Copy-Paste Template</label>' + '<textarea id="' + tmplName + '" class="OnTheFly-AssistField"/>' + '</form>' ) ; $ ( '#' + id + modalName + 'DialogConfig' ) . val ( $ . i18n ( 'Could not load configuration from' ) + ' "' + resourceURL + '"' ) ; $ ( '#' + id + modalName + 'DialogAssist' ) . val ( $ . i18n ( 'No help available.' ) ) ; } else { log ( "PoNG-OnTheFly" , "WARNING: Configuration issue!" ) ; } log ( "PoNG-OnTheFly" , "Done." ) ; }
creae modal dialog from
creae modal dialog from