Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a7db9b36

Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt

  • ID a7db9b362855bd38046dd5d55c1f2cfcba4a26b1
  • Vorgänger 466c05de
  • Nachfolger 0d40db7b

Zeitabschätzung auch in Vorlagen bearbeiten können

Unterschiede anzeigen:

js/requirement_spec.js
398 398
      , paste_template:     { name: kivi.t8('Paste template'),     icon: "paste",  callback: kivi.requirement_spec.paste_template }
399 399
    };
400 400

  
401
    $.contextMenu({
402
      selector: '.edit-time-cost-estimate-context-menu',
403
      items:    $.extend({
404
          heading: { name: kivi.t8('Time/cost estimate actions'), className: 'context-menu-heading' }
405
        , save:    { name: kivi.t8('Save'),   icon: "save",  callback: kivi.requirement_spec.standard_time_cost_estimate_ajax_call }
406
        , cancel:  { name: kivi.t8('Cancel'), icon: "close", callback: kivi.requirement_spec.standard_time_cost_estimate_ajax_call }
407
      }, general_actions)
408
    });
409

  
410 401
    $.contextMenu({
411 402
      selector: '.versioned-copy-context-menu',
412 403
      items:    $.extend({
......
452 443
    }, general_actions)
453 444
  });
454 445

  
446
  $.contextMenu({
447
    selector: '.edit-time-cost-estimate-context-menu',
448
    items:    $.extend({
449
        heading: { name: kivi.t8('Time/cost estimate actions'), className: 'context-menu-heading' }
450
      , save:    { name: kivi.t8('Save'),   icon: "save",  callback: kivi.requirement_spec.standard_time_cost_estimate_ajax_call }
451
      , cancel:  { name: kivi.t8('Cancel'), icon: "close", callback: kivi.requirement_spec.standard_time_cost_estimate_ajax_call }
452
    }, general_actions)
453
  });
454

  
455 455
  $.contextMenu({
456 456
    selector: '#content',
457 457
    items:    general_actions

Auch abrufbar als: Unified diff