git status

This commit is contained in:
Dennis Collinson 2012-02-07 18:29:51 -08:00
parent cb23b2d5b7
commit efd99344eb
5 changed files with 5 additions and 3 deletions

View file

@ -1,7 +1,7 @@
-# Copyright (c) 2010-2011, Diaspora Inc. This file is -# Copyright (c) 2010-2011, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See -# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
= javascript_include_tag "publisher.js" = javascript_include_tag 'vendor/jquery.textchange.min.js', "publisher.js"
:javascript :javascript
$(function() { $(function() {

View file

@ -80,7 +80,7 @@ javascripts:
- public/javascripts/friend-finder.js - public/javascripts/friend-finder.js
home: home:
- public/javascripts/publisher.js - public/javascripts/publisher.js
- public/javascripts/jquery.textchange.min.js - public/javascripts/vendor/jquery.textchange.min.js
- public/javascripts/aspect-edit-pane.js - public/javascripts/aspect-edit-pane.js
- public/javascripts/fileuploader-custom.js - public/javascripts/fileuploader-custom.js
people: people:

View file

@ -1,6 +1,6 @@
//this file is the scary no-no-zone bad-touch of our backbone code. //this file is the scary no-no-zone bad-touch of our backbone code.
//after re-writing/eliminating the existing Publisher let's re-write //after re-writing/eliminating the existing Publisher let's re-write
//this with PANACHE! //this with PANACHE! <333 Dennis
app.views.Publisher = Backbone.View.extend({ app.views.Publisher = Backbone.View.extend({

View file

@ -152,6 +152,7 @@ var Publisher = {
}, },
textChange : function(){ textChange : function(){
console.log("yohoho")
Publisher.determineSubmitAvailability(); Publisher.determineSubmitAvailability();
Publisher.input().mentionsInput("val", function(value) { Publisher.input().mentionsInput("val", function(value) {
Publisher.hiddenInput().val(value); Publisher.hiddenInput().val(value);
@ -190,6 +191,7 @@ var Publisher = {
}, },
initialize: function() { initialize: function() {
console.log("OHHHHH MY GAWD")
Publisher.cachedForm = Publisher.cachedSubmit = Publisher.cachedForm = Publisher.cachedSubmit =
Publisher.cachedInput = Publisher.cachedHiddenInput = false; Publisher.cachedInput = Publisher.cachedHiddenInput = false;