Changeset 19667 for platform

Show
Ignore:
Timestamp:
09/21/08 15:16:37 (2 months ago)
Author:
CL
Message:

change idStoryOrientation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • platform/indesign/fit_text/trunk/fit_text.jsx

    r19666 r19667  
    4242  TextFrame.prototype.fitText = function(limit) { 
    4343    var self = this; 
    44     var idGraphic ={ 
     44    var idStoryOrientation ={ 
    4545      1752134266: 'idHorizontal', 
    4646      1986359924: 'idVertical', 
    4747    }; 
    48     if (idGraphic[self.parentStory.storyPreferences.storyOrientation] 
    49           == 'idHorizontal') { 
     48    if (idStoryOrientation[ 
     49          self.parentStory.storyPreferences.storyOrientation 
     50        ] == 'idHorizontal') { 
    5051      this.fitTextHolizontalScale(limit); 
    5152    } else {