Unable to set default for sLoadingRecords
Unable to set default for sLoadingRecords
I have a number of tables where I'd like to use common text for sLoadingRecords (set by extending the default settings), but want to set unique values for sEmptyTable and sZeroRecords for each table.
It took me a while to figure out why I wasn't seeing the loading text I expected, but eventually I noticed that _fnLanguageCompat gets called before applying the default values.
It would seem like there would be a way of detecting the difference between the original defaults and overridden defaults and only applying the backward compatibility methods if there wasn't a new value in the overridden defaults.
Any thoughts?
It took me a while to figure out why I wasn't seeing the loading text I expected, but eventually I noticed that _fnLanguageCompat gets called before applying the default values.
It would seem like there would be a way of detecting the difference between the original defaults and overridden defaults and only applying the backward compatibility methods if there wasn't a new value in the overridden defaults.
Any thoughts?
This discussion has been closed.
Replies
I think I might be looking at dropping the language backwards compatibility in 1.10, but we'll see how things go.
Anyway, my fix is available in the 1.9.1.dev nightly on the downloads page now.
Thanks for flagging this up.
Allan