Merge pull request #4106 from jaywink/4057-bookmarklet-post-cannot-be-edited
Include missing javascript in bookmarklet to fix uneditable post content
This commit is contained in:
commit
65ce91bbd1
3 changed files with 14 additions and 1 deletions
|
|
@ -115,6 +115,7 @@ by them self.
|
|||
* Remove unnecessary dotted CSS borders. [#2940](https://github.com/diaspora/diaspora/issues/2940)
|
||||
* Fix default image url in profiles table. [#3795](https://github.com/diaspora/diaspora/issues/3795)
|
||||
* Fix mobile buttons are only clickable when scrolled to the top. [#4102](https://github.com/diaspora/diaspora/issues/4102)
|
||||
* Fix regression in bookmarklet causing uneditable post contents. [#4057](https://github.com/diaspora/diaspora/issues/4057)
|
||||
|
||||
## Features
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
= javascript_include_tag :home
|
||||
|
||||
#new_status_message_pane
|
||||
.span-15.last
|
||||
%h4
|
||||
|
|
|
|||
|
|
@ -37,8 +37,18 @@ describe("bookmarklet", function() {
|
|||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe("modified prefilled bookmarklet", function(){
|
||||
it('allows changing of post content', function(){
|
||||
spec.loadFixture('prefilled_bookmarklet');
|
||||
$('div.mentions > div').html('Foo Bar');
|
||||
_.defer(function() {
|
||||
expect($("#publisher #status_message_text").val()).toEqual("Foo Bar");
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue