Project

General

Profile

Bug #2826

New config templates don't save because the set_code() method empties the div

Added by Sam Kottler about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Sam Kottler
Category:
Templates
Target version:
Difficulty:
trivial
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:


Related issues

Related to Foreman - Bug #2797: Saving provisioning template ruins the template when preview mode is selectedClosed2013-07-16

Associated revisions

Revision ceabd2b3 (diff)
Added by Sam Kottler about 6 years ago

Fixes #2826: only run set_code() on submit if the config template editor is already in diff mode

Revision d08866b6 (diff)
Added by Sam Kottler about 6 years ago

Fixes #2826: only run set_code() on submit if the config template editor is already in diff mode

(cherry picked from commit ceabd2b37d1924a45ee20de100d0e5cb8f39845d)

History

#1 Updated by Sam Kottler about 6 years ago

  • Status changed from New to Ready For Testing

#2 Updated by Sam Kottler about 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF