I have sent an application for a job in Careers. Now if I enter the "Messages" section and go to "Sent - Applications", I can see that below my application there's a grayed out text area to type a reply, together with the "You must wait until the employer responds to your application" message. All OK and logical.

The strange thing is that although the "Send Message" button is disabled as one would expect, the "Attach File" button is enabled and working (the browser's file selection dialog appears):

This looks like a bug to me... or has it any real purpose?

  • My pleasure! :) – Shadow 10 Years Wizard Sep 30 '15 at 8:18
  • 1
    Might be difficult to disable that button, but we'll have a look. – Max Sep 30 '15 at 14:39
  • 1
    @Max yeah, since it's not really a button you'll have to "fake" the disabled style. But what about simply hiding the button in case the user can't respond? Won't be 100% consistent with the rest of the form, but will still achieve the goal. – Shadow 10 Years Wizard Sep 30 '15 at 15:25
  • @ShadowWizard Indeed, that would do the trick. It would be as simple as <span id="attach-file" ng-if="canSendMessage(thread)"> – Konamiman Oct 1 '15 at 6:48
  • @Konamiman SE use ASP.NET without AngularJS afaik, but yeah that's the general idea. – Shadow 10 Years Wizard Oct 1 '15 at 6:50
  • @ShadowWizard It seems that AngularJS is indeed used for Careers. My suggestion is based on the actual source code of the page. :-) – Konamiman Oct 1 '15 at 6:51
  • Oh my, one never stop learning. Pretty sure they didn't always use it, only @Max can tell for sure. :) – Shadow 10 Years Wizard Oct 1 '15 at 6:53
  • We've been using Angular for quite a while now on various (not all) pieces of the Careers page, and the messaging interface is indeed one of them. – Max Oct 1 '15 at 13:59

As suggested in the comments, we've added a fix to hide the "Attach File" button when the user can't respond to the message in its current state:

enter image description here

| improve this answer | |
  • Awesome! Just nitpicking, but the "Send Message" button gets highlighted when hovered even when disabled, can this also be removed? (i.e. it will stay gray when hovered :)) – Shadow 10 Years Wizard Oct 1 '15 at 16:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .