mozilla-b2g/gaia — pull request #9515 by julienw (2013-05-02 18:31:37+00:00)
Title: Bug 865411 - [SMS] Banner required to hold message when user reaches the...

... Max Segments in SMS composer r=borja

* implement the notification according to UX and Visual design
* display this notification if we reach the max length
* disable the send button if over 10 segments, but keep it enabled if we have
exactly the max length
* rewrote the enableSend function to make it more readable and manageable
* use the new markup loader in thread_ui_test.js, and make it global