lib/js/ComponentView.js
function(e) {
      var t = this;
      UI.pauseTour();

      // Set the component model into the settings view
      settingsView.setModel(t.model, t, t.viewClass['SettingsView']);

      // Center and show the settings
      $('#nm-cv-settings').centerBox().css({top:40}).modal('show');
      e.stopPropagation();

      // Place the cursor into the first field once the form fades in
      setTimeout(function(){
        settingsView.$('#nm-cv-settings input').first().focus();
      }, 500);
    }
function(e) {
      var t = this;
      UI.pauseTour();

      // Set the component model into the settings view
      settingsView.setModel(t.model, t, t.viewClass['SettingsView']);

      // Center and show the settings
      $('#nm-cv-settings').centerBox().css({top:40}).modal('show');
      e.stopPropagation();

      // Place the cursor into the first field once the form fades in
      setTimeout(function(){
        settingsView.$('#nm-cv-settings input').first().focus();
      }, 500);
    }
function ( e ) { var t = this ; UI . pauseTour ( ) ; // Set the component model into the settings view settingsView . setModel ( t . model , t , t . viewClass [ 'SettingsView' ] ) ; // Center and show the settings $ ( '#nm-cv-settings' ) . centerBox ( ) . css ( { top : 40 } ) . modal ( 'show' ) ; e . stopPropagation ( ) ; // Place the cursor into the first field once the form fades in setTimeout ( function ( ) { settingsView . $ ( '#nm-cv-settings input' ) . first ( ) . focus ( ) ; } , 500 ) ; }
Open the component settings dialog
Open the component settings dialog