Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
message = 'You haven\'t saved your changes yet!',
initialValue,
name;
// django initial values returns organization as 'null' when it is empty
if (currentValues.organization === '') {
currentValues.organization = 'null';
}
if (gettext) { message = gettext(message); } // i18n if enabled
// compare initial with current values
for (name in django._owcInitialValues) {
Expand Down